Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008304/0.0008304, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009827/0.0009827, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9845/0.9845, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7874/0.7874, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009207/0.0009207, allocations: 69.3 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5503, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002313/0.5526, allocations: 1.83 MB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00377/0.5564, allocations: 3.418 MB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.5565, allocations: 2.188 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007984/0.5573, allocations: 171.7 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.5575, allocations: 77.53 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.5577, allocations: 44.7 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.5582, allocations: 283.2 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.5583, allocations: 20.77 kB / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.5584, allocations: 76.11 kB / 0.8236 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.5585, allocations: 73.39 kB / 0.8236 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.5585, allocations: 7.438 kB / 0.8236 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.5586, allocations: 25.19 kB / 0.8237 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.5587, allocations: 57.44 kB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.5588, allocations: 74.38 kB / 0.8238 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.5591, allocations: 204.1 kB / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5591, allocations: 0 / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5591, allocations: 0 / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.5591, allocations: 1.062 kB / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00064/0.5597, allocations: 466.4 kB / 0.8244 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5598, allocations: 9.844 kB / 0.8244 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.5598, allocations: 43.38 kB / 0.8245 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000505/0.5603, allocations: 116.8 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.5607, allocations: 207.7 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.5607, allocations: 6.688 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5608, allocations: 7.938 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.561, allocations: 152.9 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5611, allocations: 0 / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5611, allocations: 5.062 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.5611, allocations: 14.56 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.5614, allocations: 150.6 kB / 0.8251 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.5621, allocations: 410.9 kB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.5624, allocations: 171.4 kB / 0.8257 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.5626, allocations: 105.3 kB / 0.8258 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5627, allocations: 6.344 kB / 0.8258 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.5627, allocations: 33.17 kB / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.275e-06/0.5627, allocations: 3.938 kB / 0.8258 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000697/0.5634, allocations: 301.6 kB / 0.8261 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5634, allocations: 53.38 kB / 0.8261 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.5637, allocations: 248.9 kB / 0.8264 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.5638, allocations: 25.7 kB / 0.8264 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.5639, allocations: 137.1 kB / 0.8265 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.5639, allocations: 44.2 kB / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.564, allocations: 33.95 kB / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5641, allocations: 336.7 kB / 0.8269 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5643, allocations: 82.45 kB / 0.827 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.5645, allocations: 81.62 kB / 0.8271 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.5648, allocations: 175.8 kB / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5648, allocations: 1.219 kB / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003659/0.5652, allocations: 220.9 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5652, allocations: 6.031 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5652, allocations: 1.281 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5652, allocations: 4 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.5654, allocations: 39.56 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5654, allocations: 1.281 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.5655, allocations: 24.61 kB / 0.8275 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.5656, allocations: 10.39 kB / 0.8276 GB, free: 10.75 MB / 0.6198 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 (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 prepare postOptimizeDAE: time 0.0001145/0.5657, allocations: 136.2 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.5657, allocations: 25.97 kB / 0.8277 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.5658, allocations: 28.91 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5658, allocations: 5.094 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5658, allocations: 2.016 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5658, allocations: 0.7031 kB / 0.8277 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.566, allocations: 235 kB / 0.828 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.566, allocations: 0.6094 kB / 0.828 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.5662, allocations: 38.5 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5662, allocations: 5.328 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5662, allocations: 3.422 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5662, allocations: 5.344 kB / 0.828 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5662, allocations: 4 kB / 0.828 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.5667, allocations: 325.6 kB / 0.8283 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.5668, allocations: 38.3 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.5668, allocations: 5.031 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5669, allocations: 12.11 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.567, allocations: 14.42 kB / 0.8284 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.567, allocations: 12.53 kB / 0.8284 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001636/0.5671, allocations: 181.2 kB / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5671, allocations: 0 / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002206/0.5674, allocations: 44.58 kB / 0.8286 GB, free: 10.03 MB / 0.6198 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.0007352/0.5681, allocations: 0.8617 MB / 0.8295 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.5685, allocations: 176 kB / 0.8296 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5685, allocations: 1.188 kB / 0.8296 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.5686, allocations: 99.34 kB / 0.8297 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.569, allocations: 38.39 kB / 0.8298 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.5717, allocations: 2.422 MB / 0.8321 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.5719, allocations: 131.9 kB / 0.8323 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.572, allocations: 58.86 kB / 0.8323 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.5721, allocations: 64.56 kB / 0.8324 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/0.5721, allocations: 0 / 0.8324 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.593, allocations: 5.502 MB / 0.8378 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/7.303, allocations: 2.391 kB / 0.8378 GB, free: 5.777 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.23859309591353] Failed to read output from testmodel.py, exit status != 0: 7.384636345785111 7.394847374 6.833286636 Calling exit ...