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.0007931/0.0007931, 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.0008723/0.0008723, 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.8926/0.8926, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.548/0.548, 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.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.463e-06/1.463e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.593e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002583/0.002599, allocations: 2.089 MB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.00654, allocations: 3.907 MB / 0.5601 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.006646, allocations: 3.938 kB / 0.5601 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.007448, allocations: 179 kB / 0.5602 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.007567, allocations: 87.22 kB / 0.5603 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.008085, allocations: 346.3 kB / 0.5606 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.008601, allocations: 462.5 kB / 0.5611 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.008726, allocations: 44.83 kB / 0.5611 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.008908, allocations: 187.5 kB / 0.5613 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.009046, allocations: 127.6 kB / 0.5614 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.009077, allocations: 20 kB / 0.5614 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.009407, allocations: 335.4 kB / 0.5618 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.009498, allocations: 119.6 kB / 0.5619 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.009582, allocations: 107.7 kB / 0.562 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.01006, allocations: 0.6309 MB / 0.5626 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01006, allocations: 8 kB / 0.5626 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01006, allocations: 3.938 kB / 0.5626 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.01007, allocations: 0 / 0.5626 GB, free: 10.1 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008521/0.01092, allocations: 0.7353 MB / 0.5633 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.01096, allocations: 8.625 kB / 0.5633 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.011, allocations: 46.73 kB / 0.5634 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000981/0.01198, allocations: 312.3 kB / 0.5637 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.01249, allocations: 344 kB / 0.564 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.0125, allocations: 20 kB / 0.564 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.01252, allocations: 8 kB / 0.564 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.01292, allocations: 272 kB / 0.5643 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.01293, allocations: 4 kB / 0.5643 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.01294, allocations: 4 kB / 0.5643 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01295, allocations: 3.984 kB / 0.5643 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.01348, allocations: 351.6 kB / 0.5646 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.01431, allocations: 0.6437 MB / 0.5653 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.01463, allocations: 210.4 kB / 0.5655 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.0149, allocations: 184.7 kB / 0.5656 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.01494, allocations: 19.98 kB / 0.5657 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01496, allocations: 34.56 kB / 0.5657 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.01497, allocations: 0 / 0.5657 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0009593/0.01592, allocations: 0.5949 MB / 0.5663 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.01595, allocations: 55.41 kB / 0.5663 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.01624, allocations: 441.9 kB / 0.5668 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.01626, allocations: 29.7 kB / 0.5668 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.01636, allocations: 204.4 kB / 0.567 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.01639, allocations: 43.66 kB / 0.567 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.01646, allocations: 53.67 kB / 0.5671 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.01655, allocations: 350.8 kB / 0.5674 GB, free: 5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.01692, allocations: 341.7 kB / 0.5677 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.01727, allocations: 346 kB / 0.5681 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.0179, allocations: 0.5361 MB / 0.5686 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.0179, allocations: 0 / 0.5686 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008178/0.01872, allocations: 0.7855 MB / 0.5693 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.01875, allocations: 45.69 kB / 0.5694 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01876, allocations: 0 / 0.5694 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01877, allocations: 4 kB / 0.5694 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.01899, allocations: 67.91 kB / 0.5695 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.019, allocations: 7.875 kB / 0.5695 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.01917, allocations: 63.67 kB / 0.5695 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.01919, allocations: 11.98 kB / 0.5695 GB, free: 2.77 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 (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.0001093/0.01929, allocations: 153.8 kB / 0.5697 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.01933, allocations: 39.72 kB / 0.5697 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006905/0.02002, allocations: 464.8 kB / 0.5702 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.02003, allocations: 4 kB / 0.5702 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02003, allocations: 0 / 0.5702 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02003, allocations: 11.86 kB / 0.5702 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.02027, allocations: 308.6 kB / 0.5705 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.02027, allocations: 0 / 0.5705 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.02052, allocations: 63.92 kB / 0.5705 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.02053, allocations: 3.938 kB / 0.5705 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02054, allocations: 3.984 kB / 0.5705 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.02054, allocations: 4 kB / 0.5706 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02054, allocations: 0 / 0.5706 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.02118, allocations: 0.5253 MB / 0.5711 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.02126, allocations: 71.55 kB / 0.5711 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.02129, allocations: 4 kB / 0.5711 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.02145, allocations: 35.95 kB / 0.5712 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.02151, allocations: 23.91 kB / 0.5712 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.02152, allocations: 7.984 kB / 0.5712 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000197/0.02172, allocations: 311.1 kB / 0.5715 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02172, allocations: 0 / 0.5715 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002839/0.022, allocations: 123.9 kB / 0.5716 GB, free: 0.5742 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.0009647/0.02296, allocations: 1.141 MB / 0.5727 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007784/0.02374, allocations: 0.6373 MB / 0.5734 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.02374, allocations: 0 / 0.5734 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.02403, allocations: 195.8 kB / 0.5735 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.02433, allocations: 53.86 kB / 0.5736 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.02892, allocations: 5.473 MB / 0.5789 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.02903, allocations: 195.4 kB / 0.5791 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.02921, allocations: 69.91 kB / 0.5792 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.02935, allocations: 124.4 kB / 0.5793 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/0.02935, allocations: 0 / 0.5793 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.05166, allocations: 10.43 MB / 0.5895 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/6.929, allocations: 14.41 kB / 0.5895 GB, free: 14.33 MB / 0.5573 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.511864459142089] Failed to read output from testmodel.py, exit status != 0: 7.013487469404936 7.02192448 7.010069263 Calling exit ...