Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0007646/0.0007646, allocations: 76.55 kB / 19.93 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.0008631/0.0008631, allocations: 177.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.8874/0.8874, allocations: 177.2 MB / 203.5 MB, free: 5.738 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.5571/0.5571, allocations: 114 MB / 373.9 MB, free: 8.703 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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.947e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002699/0.002718, allocations: 1.513 MB / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.003568, allocations: 462.9 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.003635, allocations: 0 / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.00367, allocations: 3.938 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.00373, allocations: 15.8 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.003991, allocations: 39.89 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.00414, allocations: 63.72 kB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.004243, allocations: 3.984 kB / 0.5562 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.004397, allocations: 39.84 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.004468, allocations: 15.98 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.004486, allocations: 4 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.004533, allocations: 8 kB / 0.5563 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.004551, allocations: 15.91 kB / 0.5563 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.004575, allocations: 12 kB / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.0047, allocations: 51.8 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004702, allocations: 4 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004703, allocations: 4 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004708, allocations: 3.938 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004487/0.005156, allocations: 292.5 kB / 0.5567 GB, free: 180 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.005201, allocations: 15.97 kB / 0.5567 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.005234, allocations: 30.75 kB / 0.5567 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.005405, allocations: 24.86 kB / 0.5567 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.005609, allocations: 129.7 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.00562, allocations: 4.375 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.005631, allocations: 384 / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.005784, allocations: 61.61 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005792, allocations: 4 kB / 0.5569 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005801, allocations: 0 / 0.5569 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.005805, allocations: 0 / 0.5569 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.005908, allocations: 35.91 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.006248, allocations: 236 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.006331, allocations: 46.56 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.006376, allocations: 20.94 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.00639, allocations: 7.938 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.006406, allocations: 30.56 kB / 0.5573 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.006408, allocations: 0 / 0.5573 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002094/0.006617, allocations: 93.55 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.006645, allocations: 55.41 kB / 0.5574 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.006713, allocations: 124.5 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.006722, allocations: 25.7 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.00676, allocations: 96.08 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.006776, allocations: 7.938 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.006803, allocations: 17.72 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.006879, allocations: 322.8 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.006913, allocations: 15.98 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.006943, allocations: 19.98 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.878e-05/0.007012, allocations: 44.78 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007014, allocations: 0 / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.262e-05/0.007107, allocations: 73.61 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007119, allocations: 8 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007123, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007135, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.007196, allocations: 11.98 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.007201, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.007224, allocations: 8 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.00723, allocations: 0 / 0.5582 GB, free: 14.47 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 (3): * Single equations (assignments): 3 * 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 5.627e-05/0.007286, allocations: 113.8 kB / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.007299, allocations: 8.281 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.007321, allocations: 12 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007322, allocations: 0 / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007326, allocations: 3.984 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007329, allocations: 3.938 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.007435, allocations: 144.7 kB / 0.5584 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007436, allocations: 3.984 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.00746, allocations: 11.94 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.007461, allocations: 0 / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.007467, allocations: 4 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.007469, allocations: 3.984 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00747, allocations: 0 / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.007589, allocations: 171.4 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.007596, allocations: 7.953 kB / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.007609, allocations: 11.98 kB / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.007644, allocations: 0 / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.007674, allocations: 8 kB / 0.5587 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.007677, allocations: 3.984 kB / 0.5587 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.007713, allocations: 95.27 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007713, allocations: 0 / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001461/0.007859, allocations: 12 kB / 0.5588 GB, free: 13.79 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 (3): * Single equations (assignments): 3 * 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.0002899/0.008149, allocations: 0.6967 MB / 0.5594 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.008264, allocations: 35.97 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008266, allocations: 4 kB / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.008302, allocations: 23.92 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.008459, allocations: 4 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.009343, allocations: 1.372 MB / 0.5609 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.009385, allocations: 79.27 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.00941, allocations: 0 / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.009449, allocations: 16.5 kB / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.00945, allocations: 0 / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02412, allocations: 2.201 MB / 0.5631 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.977, allocations: 8.141 kB / 0.5631 GB, free: 9.414 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.393659529276192] Failed to read output from testmodel.py, exit status != 0: 7.057695406489074 7.070085181 7.063012825 Calling exit ...