Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8719/0.8719, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001474/0.001474, allocations: 242.3 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6349/0.6349, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6463 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.025e-05, allocations: 4.25 kB / 0.6463 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.001921/0.001941, allocations: 1.69 MB / 0.6479 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005048/0.002446, allocations: 459.8 kB / 0.6484 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.002483, allocations: 5.062 kB / 0.6484 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.002809, allocations: 130.4 kB / 0.6485 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.002858, allocations: 61.27 kB / 0.6486 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.00314, allocations: 74.53 kB / 0.6486 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003254, allocations: 111.7 kB / 0.6487 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.003294, allocations: 3.5 kB / 0.6487 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.003366, allocations: 42.3 kB / 0.6488 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.003443, allocations: 53.08 kB / 0.6488 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.003457, allocations: 3.094 kB / 0.6488 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.003592, allocations: 71.77 kB / 0.6489 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.003664, allocations: 59.67 kB / 0.649 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.003702, allocations: 35.7 kB / 0.649 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.00395, allocations: 193.8 kB / 0.6492 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.003956, allocations: 0 / 0.6492 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.003957, allocations: 5.125 kB / 0.6492 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.003963, allocations: 0 / 0.6492 GB, free: 27.05 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000414/0.004377, allocations: 411.5 kB / 0.6496 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.004424, allocations: 10.69 kB / 0.6496 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.004451, allocations: 30.75 kB / 0.6496 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.004484, allocations: 21.08 kB / 0.6496 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.004579, allocations: 160.9 kB / 0.6498 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.004591, allocations: 1.562 kB / 0.6498 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.004601, allocations: 1.562 kB / 0.6498 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.00476, allocations: 66.58 kB / 0.6499 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004767, allocations: 1.562 kB / 0.6499 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004776, allocations: 384 / 0.6499 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004781, allocations: 3.938 kB / 0.6499 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.004892, allocations: 66.09 kB / 0.6499 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.005253, allocations: 294 kB / 0.6502 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.005352, allocations: 69.36 kB / 0.6503 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.005406, allocations: 35.02 kB / 0.6503 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.005453, allocations: 12.12 kB / 0.6503 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.00547, allocations: 32.38 kB / 0.6504 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.005472, allocations: 3.984 kB / 0.6504 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002777/0.005749, allocations: 134.9 kB / 0.6505 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.005775, allocations: 55.34 kB / 0.6505 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.005949, allocations: 261.4 kB / 0.6508 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.005957, allocations: 26.95 kB / 0.6508 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.006013, allocations: 135 kB / 0.6509 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.00603, allocations: 3.953 kB / 0.6509 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.006056, allocations: 16.78 kB / 0.651 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.006102, allocations: 332.4 kB / 0.6513 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.006161, allocations: 27.3 kB / 0.6513 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.006207, allocations: 34.59 kB / 0.6513 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.006303, allocations: 66.09 kB / 0.6514 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006305, allocations: 0 / 0.6514 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/0.006438, allocations: 113.7 kB / 0.6515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.006452, allocations: 5.594 kB / 0.6515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006457, allocations: 3.984 kB / 0.6515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.006471, allocations: 1.25 kB / 0.6515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.006536, allocations: 10.28 kB / 0.6515 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.006542, allocations: 3.984 kB / 0.6515 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.006578, allocations: 11.77 kB / 0.6515 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.006584, allocations: 1.156 kB / 0.6515 GB, free: 25.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.006649, allocations: 137.1 kB / 0.6517 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.006671, allocations: 20.09 kB / 0.6517 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.006852, allocations: 108 kB / 0.6518 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006854, allocations: 0 / 0.6518 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.006861, allocations: 9.281 kB / 0.6518 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006865, allocations: 3.984 kB / 0.6518 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.006987, allocations: 180.2 kB / 0.652 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006988, allocations: 1.344 kB / 0.652 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.007017, allocations: 17.67 kB / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007019, allocations: 0 / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.007025, allocations: 1.125 kB / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.007027, allocations: 0 / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007028, allocations: 1.406 kB / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.007165, allocations: 209.5 kB / 0.6522 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.007182, allocations: 20.23 kB / 0.6522 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.007197, allocations: 5.031 kB / 0.6522 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.007242, allocations: 7.328 kB / 0.6522 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.007278, allocations: 1.25 kB / 0.6522 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007282, allocations: 1.375 kB / 0.6522 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.888e-05/0.007381, allocations: 190.4 kB / 0.6524 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007381, allocations: 1.125 kB / 0.6524 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001954/0.007577, allocations: 34.44 kB / 0.6525 GB, free: 24.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003483/0.007925, allocations: 0.7712 MB / 0.6532 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.00807, allocations: 67.19 kB / 0.6533 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.008071, allocations: 0 / 0.6533 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.008121, allocations: 32.3 kB / 0.6533 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.008496, allocations: 52.02 kB / 0.6533 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.0091, allocations: 392.8 kB / 0.6537 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.009187, allocations: 131.7 kB / 0.6538 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.009231, allocations: 4.312 kB / 0.6539 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.009281, allocations: 46.98 kB / 0.6539 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of SimCode: time 1.542e-06/0.009283, allocations: 0 / 0.6539 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.02696, allocations: 4.777 MB / 0.6586 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.34/6.367, allocations: 10.91 kB / 0.6586 GB, free: 20.41 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.181588364765048] Failed to read output from testmodel.py, exit status != 0: 6.445576842874289 6.451396433 6.44579348 Calling exit ...