Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0007788/0.0007788, 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.0008059/0.0008059, 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.881/0.881, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.5652/0.5652, allocations: 114 MB / 373.9 MB, free: 8.684 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.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 3.938 kB / 0.5542 GB, free: 1.68 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.135e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.676 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002455/0.002466, allocations: 2.081 MB / 0.5562 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.005812, allocations: 3.919 MB / 0.56 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.005901, allocations: 3.938 kB / 0.5601 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.006481, allocations: 183 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.006582, allocations: 79.28 kB / 0.5603 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.007019, allocations: 349.9 kB / 0.5606 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.007444, allocations: 461 kB / 0.5611 GB, free: 10.6 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.007539, allocations: 48.69 kB / 0.5611 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.007684, allocations: 191.5 kB / 0.5613 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.007803, allocations: 127.6 kB / 0.5614 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.007829, allocations: 20 kB / 0.5614 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.008145, allocations: 327.4 kB / 0.5618 GB, free: 9.895 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.00823, allocations: 123.6 kB / 0.5619 GB, free: 9.773 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.008307, allocations: 111.7 kB / 0.562 GB, free: 9.664 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.008764, allocations: 0.6386 MB / 0.5626 GB, free: 9.023 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.008766, allocations: 4 kB / 0.5626 GB, free: 9.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008767, allocations: 4 kB / 0.5626 GB, free: 9.016 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.008772, allocations: 0 / 0.5626 GB, free: 9.016 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001057/0.009829, allocations: 0.7237 MB / 0.5633 GB, free: 8.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.009867, allocations: 12.62 kB / 0.5633 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.009903, allocations: 54.67 kB / 0.5634 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.01079, allocations: 320.2 kB / 0.5637 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.01129, allocations: 351.9 kB / 0.564 GB, free: 7.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.0113, allocations: 16.12 kB / 0.564 GB, free: 7.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.01132, allocations: 4 kB / 0.564 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.01171, allocations: 266.5 kB / 0.5643 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.01172, allocations: 0 / 0.5643 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.01174, allocations: 4 kB / 0.5643 GB, free: 7.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01174, allocations: 4 kB / 0.5643 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.01228, allocations: 347.6 kB / 0.5646 GB, free: 6.871 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.01309, allocations: 0.6243 MB / 0.5652 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.01341, allocations: 218.4 kB / 0.5655 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.01368, allocations: 184.6 kB / 0.5656 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.01372, allocations: 27.98 kB / 0.5657 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.01374, allocations: 30.56 kB / 0.5657 GB, free: 5.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01374, allocations: 0 / 0.5657 GB, free: 5.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009244/0.01467, allocations: 0.591 MB / 0.5663 GB, free: 5.133 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.01469, allocations: 55.41 kB / 0.5663 GB, free: 5.066 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.01498, allocations: 441.9 kB / 0.5667 GB, free: 4.625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.015, allocations: 29.7 kB / 0.5668 GB, free: 4.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.01509, allocations: 200.4 kB / 0.567 GB, free: 4.391 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01513, allocations: 47.58 kB / 0.567 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.0152, allocations: 53.67 kB / 0.5671 GB, free: 4.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.01529, allocations: 350.8 kB / 0.5674 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.01565, allocations: 353.7 kB / 0.5677 GB, free: 3.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.016, allocations: 342 kB / 0.5681 GB, free: 3.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.01663, allocations: 0.5318 MB / 0.5686 GB, free: 2.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01663, allocations: 0 / 0.5686 GB, free: 2.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008275/0.01746, allocations: 0.7763 MB / 0.5693 GB, free: 1.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.01749, allocations: 45.69 kB / 0.5694 GB, free: 1.859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.0175, allocations: 0 / 0.5694 GB, free: 1.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01751, allocations: 4 kB / 0.5694 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.01773, allocations: 71.86 kB / 0.5694 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01774, allocations: 3.938 kB / 0.5695 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.01791, allocations: 59.72 kB / 0.5695 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.01793, allocations: 11.98 kB / 0.5695 GB, free: 1.711 MB / 490.7 MB 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001106/0.01804, allocations: 157.8 kB / 0.5697 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.01808, allocations: 35.77 kB / 0.5697 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008877/0.01897, allocations: 472.7 kB / 0.5702 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01897, allocations: 4 kB / 0.5702 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01897, allocations: 4 kB / 0.5702 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01898, allocations: 3.938 kB / 0.5702 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.01922, allocations: 316.5 kB / 0.5705 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01922, allocations: 0 / 0.5705 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.0194, allocations: 63.92 kB / 0.5705 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.0194, allocations: 0 / 0.5705 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01941, allocations: 3.984 kB / 0.5705 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01942, allocations: 4 kB / 0.5705 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01942, allocations: 4 kB / 0.5705 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.02005, allocations: 0.5258 MB / 0.5711 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.02014, allocations: 67.61 kB / 0.5711 GB, free: 0 / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.02018, allocations: 4.047 kB / 0.5711 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.02034, allocations: 31.95 kB / 0.5712 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.0204, allocations: 27.84 kB / 0.5712 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.02041, allocations: 11.92 kB / 0.5712 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001953/0.0206, allocations: 311.1 kB / 0.5715 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0206, allocations: 0 / 0.5715 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002975/0.0209, allocations: 123.9 kB / 0.5716 GB, free: 15.5 MB / 0.4948 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.0009646/0.02187, allocations: 1.14 MB / 0.5727 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007609/0.02263, allocations: 0.6418 MB / 0.5733 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02263, allocations: 0 / 0.5733 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.02291, allocations: 187.8 kB / 0.5735 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.02321, allocations: 64.72 kB / 0.5736 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.02792, allocations: 5.476 MB / 0.5789 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.02805, allocations: 199.4 kB / 0.5791 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.02822, allocations: 69.91 kB / 0.5792 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.02837, allocations: 124.4 kB / 0.5793 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.02837, allocations: 3.938 kB / 0.5793 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.04777, allocations: 10.42 MB / 0.5895 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.897, allocations: 10.44 kB / 0.5895 GB, free: 13.26 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.292556616477668] Failed to read output from testmodel.py, exit status != 0: 6.983718687668443 6.992125288 6.981644775 Calling exit ...