Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0009147/0.0009147, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001019/0.001019, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.917/0.917, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5718/0.5718, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.422e-05, allocations: 3.266 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002766/0.00279, allocations: 1.834 MB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.006072, allocations: 3.39 MB / 0.5593 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.006167, allocations: 7.938 kB / 0.5593 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.006811, allocations: 166.3 kB / 0.5595 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.00696, allocations: 75.36 kB / 0.5595 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.007061, allocations: 59.91 kB / 0.5596 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.007412, allocations: 275 kB / 0.5598 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.007502, allocations: 21.78 kB / 0.5599 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.007614, allocations: 95.78 kB / 0.56 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.007718, allocations: 59.81 kB / 0.56 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.007737, allocations: 8 kB / 0.56 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.007807, allocations: 35.91 kB / 0.5601 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.007865, allocations: 59.77 kB / 0.5601 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.007915, allocations: 55.84 kB / 0.5602 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.008112, allocations: 191.2 kB / 0.5603 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.008114, allocations: 0 / 0.5603 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.008116, allocations: 0 / 0.5603 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.00812, allocations: 0 / 0.5603 GB, free: 12.44 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008695/0.00899, allocations: 472.9 kB / 0.5608 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.009027, allocations: 8.625 kB / 0.5608 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.00906, allocations: 38.75 kB / 0.5608 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.009497, allocations: 120.6 kB / 0.561 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.009789, allocations: 212.7 kB / 0.5612 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.009798, allocations: 384 / 0.5612 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.009813, allocations: 8.125 kB / 0.5612 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.01005, allocations: 149.5 kB / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.01005, allocations: 0 / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.01007, allocations: 8 kB / 0.5613 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.01009, allocations: 11.98 kB / 0.5613 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.01034, allocations: 155.8 kB / 0.5615 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.0108, allocations: 411.6 kB / 0.5619 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.01105, allocations: 174.5 kB / 0.562 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.0112, allocations: 100.8 kB / 0.5621 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.01122, allocations: 0 / 0.5621 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.01124, allocations: 46.42 kB / 0.5622 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.01124, allocations: 0 / 0.5622 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005205/0.01176, allocations: 297.4 kB / 0.5625 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.0118, allocations: 59.66 kB / 0.5625 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01196, allocations: 245.9 kB / 0.5628 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01198, allocations: 25.7 kB / 0.5628 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.01204, allocations: 140 kB / 0.5629 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.01207, allocations: 47.64 kB / 0.563 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.01212, allocations: 33.7 kB / 0.563 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.01222, allocations: 338.8 kB / 0.5633 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.01239, allocations: 83.92 kB / 0.5634 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.01252, allocations: 75.88 kB / 0.5635 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.01278, allocations: 175.4 kB / 0.5636 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01278, allocations: 4 kB / 0.5636 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003068/0.01308, allocations: 221.4 kB / 0.5638 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.0131, allocations: 15.98 kB / 0.5639 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.0131, allocations: 0 / 0.5639 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.01311, allocations: 0 / 0.5639 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01325, allocations: 35.91 kB / 0.5639 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01326, allocations: 0 / 0.5639 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.01334, allocations: 23.88 kB / 0.5639 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.01336, allocations: 11.92 kB / 0.5639 GB, free: 8.574 MB / 0.5261 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 (13): * Single equations (assignments): 13 * 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 8.498e-05/0.01344, allocations: 137.8 kB / 0.5641 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.01347, allocations: 23.86 kB / 0.5641 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.0135, allocations: 33.77 kB / 0.5641 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01351, allocations: 4 kB / 0.5641 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01351, allocations: 0 / 0.5641 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01351, allocations: 0 / 0.5641 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01371, allocations: 228.6 kB / 0.5643 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01371, allocations: 0 / 0.5643 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.01382, allocations: 39.89 kB / 0.5644 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01382, allocations: 0 / 0.5644 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01383, allocations: 4 kB / 0.5644 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01384, allocations: 4 kB / 0.5644 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01384, allocations: 0 / 0.5644 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.01418, allocations: 331.2 kB / 0.5647 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.01423, allocations: 35.83 kB / 0.5647 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01425, allocations: 4 kB / 0.5647 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.01434, allocations: 19.98 kB / 0.5648 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.01439, allocations: 15.97 kB / 0.5648 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.0144, allocations: 4 kB / 0.5648 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001012/0.0145, allocations: 181.1 kB / 0.565 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.0145, allocations: 3.938 kB / 0.565 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001827/0.01468, allocations: 39.94 kB / 0.565 GB, free: 7.414 MB / 0.5261 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 (13): * Single equations (assignments): 13 * 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.0005021/0.01519, allocations: 0.86 MB / 0.5658 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.0155, allocations: 183.8 kB / 0.566 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.0155, allocations: 0 / 0.566 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.01563, allocations: 99.86 kB / 0.5661 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.01591, allocations: 40.45 kB / 0.5661 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.01814, allocations: 2.392 MB / 0.5685 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.01823, allocations: 132.1 kB / 0.5686 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.01837, allocations: 69.42 kB / 0.5687 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.772e-05/0.01845, allocations: 64.41 kB / 0.5687 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/0.01845, allocations: 0 / 0.5687 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.03503, allocations: 5.612 MB / 0.5742 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.676, allocations: 4.969 kB / 0.5742 GB, free: 14.08 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35767234209925] Failed to read output from testmodel.py, exit status != 0: 6.756886737421155 6.765832976 6.756032491 Calling exit ...