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.0008438/0.0008438, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0008051/0.0008051, allocations: 174.3 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.9261/0.9261, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5587/0.5587, allocations: 114 MB / 373.9 MB, free: 8.699 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.963e-06/1.963e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.566e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003512/0.003538, allocations: 1.827 MB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003533/0.007071, allocations: 3.397 MB / 0.5593 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.007178, allocations: 3.938 kB / 0.5593 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.007953, allocations: 163.2 kB / 0.5595 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.008148, allocations: 83.34 kB / 0.5595 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.008261, allocations: 51.92 kB / 0.5596 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.008672, allocations: 282.9 kB / 0.5598 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.008768, allocations: 17.8 kB / 0.5599 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.008895, allocations: 91.78 kB / 0.56 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.009016, allocations: 67.8 kB / 0.56 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.009037, allocations: 8 kB / 0.56 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.338e-05/0.009111, allocations: 27.92 kB / 0.5601 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.009172, allocations: 63.77 kB / 0.5601 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.009223, allocations: 51.84 kB / 0.5602 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.009439, allocations: 195.2 kB / 0.5603 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.009443, allocations: 0 / 0.5603 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.076e-06/0.009446, allocations: 4 kB / 0.5604 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.009452, allocations: 0 / 0.5604 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.0005883/0.01004, allocations: 460.9 kB / 0.5608 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.01008, allocations: 12.03 kB / 0.5608 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.01012, allocations: 38.73 kB / 0.5608 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.01059, allocations: 120.7 kB / 0.561 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.01099, allocations: 212.7 kB / 0.5612 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.011, allocations: 4.375 kB / 0.5612 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.01102, allocations: 12.12 kB / 0.5612 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.0113, allocations: 153.5 kB / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01131, allocations: 0 / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.01132, allocations: 3.938 kB / 0.5613 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.01135, allocations: 8 kB / 0.5613 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.01161, allocations: 155.8 kB / 0.5615 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.01217, allocations: 411.7 kB / 0.5619 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.01243, allocations: 166.4 kB / 0.562 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.01258, allocations: 111.6 kB / 0.5621 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.0126, allocations: 0 / 0.5621 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.01262, allocations: 42.5 kB / 0.5622 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.01263, allocations: 0 / 0.5622 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005114/0.01314, allocations: 301.3 kB / 0.5625 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.01317, allocations: 55.66 kB / 0.5625 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01333, allocations: 241.9 kB / 0.5628 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.01335, allocations: 29.7 kB / 0.5628 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.01342, allocations: 148 kB / 0.5629 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.01345, allocations: 39.64 kB / 0.563 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.0135, allocations: 33.7 kB / 0.563 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.0136, allocations: 338.8 kB / 0.5633 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.01373, allocations: 83.94 kB / 0.5634 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01386, allocations: 75.92 kB / 0.5635 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.01413, allocations: 179.9 kB / 0.5636 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01413, allocations: 0 / 0.5636 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003114/0.01444, allocations: 225.4 kB / 0.5639 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01446, allocations: 4 kB / 0.5639 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01446, allocations: 0 / 0.5639 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01448, allocations: 3.984 kB / 0.5639 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.01464, allocations: 47.89 kB / 0.5639 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01464, allocations: 0 / 0.5639 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.01473, allocations: 23.88 kB / 0.5639 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01474, allocations: 7.984 kB / 0.5639 GB, free: 8.582 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 0.000102/0.01484, allocations: 137.8 kB / 0.5641 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.01487, allocations: 27.8 kB / 0.5641 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.01491, allocations: 29.77 kB / 0.5641 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01491, allocations: 0 / 0.5641 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01492, allocations: 4 kB / 0.5641 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01492, allocations: 0 / 0.5641 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.01512, allocations: 228.6 kB / 0.5643 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01512, allocations: 0 / 0.5643 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.01523, allocations: 39.95 kB / 0.5644 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01524, allocations: 3.938 kB / 0.5644 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01525, allocations: 4 kB / 0.5644 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.01525, allocations: 4 kB / 0.5644 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01525, allocations: 0 / 0.5644 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.0156, allocations: 335.2 kB / 0.5647 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.01566, allocations: 31.84 kB / 0.5647 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01568, allocations: 3.984 kB / 0.5647 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01578, allocations: 15.98 kB / 0.5648 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.01583, allocations: 11.92 kB / 0.5648 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01584, allocations: 7.984 kB / 0.5648 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001057/0.01595, allocations: 189.1 kB / 0.565 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01595, allocations: 0 / 0.565 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001801/0.01613, allocations: 39.94 kB / 0.565 GB, free: 7.418 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.0006221/0.01675, allocations: 0.8528 MB / 0.5658 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.01707, allocations: 186.7 kB / 0.566 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01707, allocations: 0 / 0.566 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.0172, allocations: 91.86 kB / 0.5661 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.0175, allocations: 55.34 kB / 0.5662 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.01987, allocations: 2.384 MB / 0.5685 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.01996, allocations: 136.1 kB / 0.5686 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.02011, allocations: 57.44 kB / 0.5687 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.02021, allocations: 64.47 kB / 0.5687 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.833e-06/0.02021, allocations: 0 / 0.5687 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.04186, allocations: 5.625 MB / 0.5742 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.851, allocations: 6.562 kB / 0.5742 GB, free: 14.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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.36712589673698] Failed to read output from testmodel.py, exit status != 0: 6.9360701981931925 6.944768118 6.933424923 Calling exit ...