Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0007885/0.0007885, 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.0007773/0.0007773, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.901/0.901, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5561/0.5561, allocations: 114 MB / 373.9 MB, free: 8.707 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.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.826e-05, allocations: 11.25 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002193/0.002212, allocations: 1.987 MB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.005921, allocations: 3.884 MB / 0.5599 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.006022, allocations: 7.938 kB / 0.5599 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.006715, allocations: 191 kB / 0.5601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.317e-05/0.006798, allocations: 71.36 kB / 0.5602 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.007252, allocations: 314.3 kB / 0.5605 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000448/0.0077, allocations: 398.7 kB / 0.5609 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.007794, allocations: 32.58 kB / 0.5609 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.007925, allocations: 147.7 kB / 0.561 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.008033, allocations: 111.7 kB / 0.5611 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.008057, allocations: 16 kB / 0.5612 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.008386, allocations: 315.4 kB / 0.5615 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.008484, allocations: 103.7 kB / 0.5616 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.957e-05/0.008573, allocations: 91.7 kB / 0.5617 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.009094, allocations: 0.5764 MB / 0.5622 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.009098, allocations: 4 kB / 0.5622 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.562e-06/0.009099, allocations: 0 / 0.5622 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.009106, allocations: 0 / 0.5622 GB, free: 10.51 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009232/0.01003, allocations: 0.6924 MB / 0.5629 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01007, allocations: 12.61 kB / 0.5629 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.0101, allocations: 38.75 kB / 0.5629 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.01061, allocations: 164.5 kB / 0.5631 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.01107, allocations: 295.9 kB / 0.5634 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.01109, allocations: 12.38 kB / 0.5634 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.01111, allocations: 20.06 kB / 0.5634 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.01149, allocations: 205.5 kB / 0.5636 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.0115, allocations: 0 / 0.5636 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.01152, allocations: 4 kB / 0.5636 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01152, allocations: 4 kB / 0.5636 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.01194, allocations: 259.7 kB / 0.5639 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.01263, allocations: 0.5461 MB / 0.5644 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.01288, allocations: 182.4 kB / 0.5646 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.01308, allocations: 132.8 kB / 0.5647 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.01312, allocations: 19.98 kB / 0.5647 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01315, allocations: 34.56 kB / 0.5648 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.01315, allocations: 224 / 0.5648 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0007391/0.01389, allocations: 476.7 kB / 0.5652 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.01392, allocations: 59.28 kB / 0.5653 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.01421, allocations: 421.9 kB / 0.5657 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.01423, allocations: 25.7 kB / 0.5657 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.01433, allocations: 180 kB / 0.5659 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.01435, allocations: 35.69 kB / 0.5659 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.01441, allocations: 45.69 kB / 0.5659 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.01451, allocations: 354.8 kB / 0.5663 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.01477, allocations: 213.6 kB / 0.5665 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.015, allocations: 213.6 kB / 0.5667 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.01546, allocations: 385.1 kB / 0.5671 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01546, allocations: 0 / 0.5671 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005653/0.01602, allocations: 0.5239 MB / 0.5676 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.01606, allocations: 45.69 kB / 0.5676 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01606, allocations: 3.984 kB / 0.5676 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01608, allocations: 0 / 0.5676 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.01625, allocations: 47.95 kB / 0.5677 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01626, allocations: 3.938 kB / 0.5677 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01638, allocations: 39.84 kB / 0.5677 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.0164, allocations: 8 kB / 0.5677 GB, free: 4.656 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 (12): * Single equations (assignments): 11 * 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.000107/0.0165, allocations: 157.8 kB / 0.5679 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.01654, allocations: 39.7 kB / 0.5679 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.01708, allocations: 372.6 kB / 0.5682 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01708, allocations: 8 kB / 0.5683 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01709, allocations: 3.938 kB / 0.5683 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01709, allocations: 3.984 kB / 0.5683 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.01733, allocations: 292.5 kB / 0.5685 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01734, allocations: 0 / 0.5685 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.01748, allocations: 47.94 kB / 0.5686 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01748, allocations: 0 / 0.5686 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01749, allocations: 7.938 kB / 0.5686 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.0175, allocations: 4 kB / 0.5686 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.0175, allocations: 7.938 kB / 0.5686 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.01799, allocations: 442.9 kB / 0.569 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.01806, allocations: 51.73 kB / 0.5691 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.01809, allocations: 4 kB / 0.5691 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01823, allocations: 27.95 kB / 0.5691 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.01828, allocations: 19.92 kB / 0.5691 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01829, allocations: 7.984 kB / 0.5691 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00019/0.01848, allocations: 295.1 kB / 0.5694 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01848, allocations: 0 / 0.5694 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002905/0.01877, allocations: 115.8 kB / 0.5695 GB, free: 2.715 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 (11): * Single equations (assignments): 11 * 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.0008862/0.01966, allocations: 1.044 MB / 0.5705 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.02024, allocations: 479.2 kB / 0.571 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02024, allocations: 0 / 0.571 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.02045, allocations: 147.8 kB / 0.5711 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.02077, allocations: 64.19 kB / 0.5712 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.02451, allocations: 4.433 MB / 0.5755 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.02462, allocations: 179.1 kB / 0.5757 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.02477, allocations: 61.91 kB / 0.5758 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.0249, allocations: 112.4 kB / 0.5759 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.0249, allocations: 0 / 0.5759 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.04462, allocations: 9.598 MB / 0.5852 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.392, allocations: 3.938 kB / 0.5853 GB, free: 2.68 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.88036529533565] Failed to read output from testmodel.py, exit status != 0: 7.475416257046163 7.484166201 7.473199273 Calling exit ...