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.0008814/0.0008814, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.00177/0.00177, allocations: 165 kB / 23.8 MB, free: 0.7734 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.999/0.999, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.6051/0.6051, allocations: 115 MB / 375.7 MB, free: 7.664 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: translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.597e-05, allocations: 4.531 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00361/0.003646, allocations: 2.208 MB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.01031, allocations: 4.203 MB / 487.9 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.01058, allocations: 3.625 kB / 487.9 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.01165, allocations: 182.8 kB / 488.1 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.01188, allocations: 86.89 kB / 488.2 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01289, allocations: 338.9 kB / 488.5 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.01366, allocations: 459.8 kB / 489 MB, free: 7.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.01381, allocations: 46.75 kB / 489 MB, free: 7.098 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.01414, allocations: 192.2 kB / 489.2 MB, free: 7.023 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.01433, allocations: 125.9 kB / 489.3 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.01438, allocations: 19.75 kB / 489.3 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.015, allocations: 329.8 kB / 489.7 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.01514, allocations: 114.7 kB / 489.8 MB, free: 6.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.01528, allocations: 109.6 kB / 489.9 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000847/0.01613, allocations: 0.5438 MB / 490.4 MB, free: 6.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01613, allocations: 0.6875 kB / 490.4 MB, free: 6.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01613, allocations: 0 / 490.4 MB, free: 6.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.01615, allocations: 2.094 kB / 490.4 MB, free: 6.598 MB / 410.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.001142/0.01729, allocations: 0.8208 MB / 491.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.01734, allocations: 11.09 kB / 491.3 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008653/0.01821, allocations: 209.8 kB / 491.5 MB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.01859, allocations: 281.5 kB / 491.7 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.01861, allocations: 12.14 kB / 491.8 MB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.01864, allocations: 16 kB / 491.8 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.01902, allocations: 180.7 kB / 491.9 MB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01902, allocations: 1.375 kB / 491.9 MB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01905, allocations: 4 kB / 491.9 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.01906, allocations: 2.531 kB / 492 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.01924, allocations: 82.8 kB / 492 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009481/0.02019, allocations: 0.5782 MB / 492.6 MB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.02037, allocations: 83.86 kB / 492.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.02047, allocations: 57.95 kB / 492.7 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.02054, allocations: 21.39 kB / 492.8 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.02056, allocations: 46.73 kB / 492.8 MB, free: 5.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.02056, allocations: 0 / 492.8 MB, free: 5.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004859/0.02105, allocations: 219.1 kB / 493 MB, free: 5.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.02108, allocations: 53.28 kB / 493.1 MB, free: 4.969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.02141, allocations: 462.7 kB / 493.5 MB, free: 4.707 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.02144, allocations: 31.64 kB / 493.6 MB, free: 4.672 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.02166, allocations: 252.3 kB / 493.8 MB, free: 20.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.0217, allocations: 54.25 kB / 493.9 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.02179, allocations: 61.03 kB / 493.9 MB, free: 20.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.02195, allocations: 0.532 MB / 494.5 MB, free: 19.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.02211, allocations: 102.1 kB / 494.6 MB, free: 19.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.02223, allocations: 102.5 kB / 494.7 MB, free: 19.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.02247, allocations: 168 kB / 494.8 MB, free: 19.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02247, allocations: 0 / 494.8 MB, free: 19.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004358/0.02291, allocations: 330.9 kB / 495.1 MB, free: 19.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.02295, allocations: 43.52 kB / 495.2 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02295, allocations: 0 / 495.2 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.02297, allocations: 1.969 kB / 495.2 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.02323, allocations: 55.3 kB / 495.2 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.02323, allocations: 1.438 kB / 495.2 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.0234, allocations: 41.17 kB / 495.3 MB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.02342, allocations: 12.89 kB / 495.3 MB, free: 19.51 MB / 426.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.0001068/0.02353, allocations: 164.9 kB / 495.5 MB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.02359, allocations: 51.28 kB / 495.5 MB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.02394, allocations: 205.2 kB / 495.7 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02395, allocations: 3.375 kB / 495.7 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.02395, allocations: 3.328 kB / 495.7 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02396, allocations: 1.281 kB / 495.7 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.02422, allocations: 284.8 kB / 496 MB, free: 19.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02423, allocations: 0 / 496 MB, free: 19.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.0244, allocations: 47.36 kB / 496 MB, free: 19.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.0244, allocations: 1.938 kB / 496 MB, free: 19.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.02442, allocations: 8.406 kB / 496 MB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.02442, allocations: 10.84 kB / 496.1 MB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02442, allocations: 0 / 496.1 MB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.02478, allocations: 332.6 kB / 496.4 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.02487, allocations: 56.78 kB / 496.4 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.0249, allocations: 6.094 kB / 496.4 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.02504, allocations: 19.7 kB / 496.5 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.02511, allocations: 21.97 kB / 496.5 MB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.02513, allocations: 9.312 kB / 496.5 MB, free: 18.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.02534, allocations: 292.6 kB / 496.8 MB, free: 18.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02534, allocations: 0 / 496.8 MB, free: 18.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.02582, allocations: 135.3 kB / 496.9 MB, free: 18.55 MB / 426.7 MB 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.0003117/0.02614, allocations: 184.9 kB / 497.1 MB, free: 18.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.02654, allocations: 275.9 kB / 497.4 MB, free: 18.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02654, allocations: 1.188 kB / 497.4 MB, free: 18.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.02666, allocations: 72.31 kB / 497.4 MB, free: 18.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.02703, allocations: 79.22 kB / 497.5 MB, free: 18.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.02819, allocations: 0.6024 MB / 498.1 MB, free: 17.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.02826, allocations: 110.6 kB / 498.2 MB, free: 17.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.02845, allocations: 60.94 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.02855, allocations: 33.44 kB / 498.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/0.02856, allocations: 1.531 kB / 498.3 MB, free: 17.81 MB / 426.7 MB Notification: Performance of Templates: time 0.01339/0.04194, allocations: 6.298 MB / 0.4928 GB, free: 16.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5787869398482144]