Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.000734/0.000734, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007611/0.0007611, allocations: 209.2 kB / 22.24 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.93/0.93, allocations: 230.6 MB / 256 MB, free: 9.586 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.7962/0.7962, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",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.001002/0.001002, allocations: 66.12 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.553, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002723/0.5557, allocations: 2.209 MB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.5605, allocations: 4.594 MB / 0.8244 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.5607, allocations: 6.438 kB / 0.8244 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009707/0.5616, allocations: 229.3 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.562, allocations: 142.6 kB / 0.8248 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.5622, allocations: 74.36 kB / 0.8249 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.5627, allocations: 405 kB / 0.8253 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.5629, allocations: 59 kB / 0.8253 GB, free: 12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.5631, allocations: 151.8 kB / 0.8255 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.5633, allocations: 143.2 kB / 0.8256 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.5633, allocations: 15.41 kB / 0.8256 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.5634, allocations: 40.59 kB / 0.8257 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.5635, allocations: 89.44 kB / 0.8257 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.5637, allocations: 123.3 kB / 0.8259 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.5641, allocations: 344.1 kB / 0.8262 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5641, allocations: 0 / 0.8262 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5641, allocations: 4 kB / 0.8262 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.5641, allocations: 0.7812 kB / 0.8262 GB, free: 11.62 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009252/0.565, allocations: 0.614 MB / 0.8268 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.565, allocations: 10.06 kB / 0.8268 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.005e-05/0.5651, allocations: 65.98 kB / 0.8269 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007896/0.5659, allocations: 209 kB / 0.8271 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.5665, allocations: 289.9 kB / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5665, allocations: 9.375 kB / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.5665, allocations: 13.69 kB / 0.8274 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.5671, allocations: 326.6 kB / 0.8277 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5672, allocations: 0 / 0.8277 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.5672, allocations: 9 kB / 0.8277 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.5672, allocations: 25.88 kB / 0.8277 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006921/0.5679, allocations: 333.8 kB / 0.828 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.5692, allocations: 0.7361 MB / 0.8287 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.5698, allocations: 319.4 kB / 0.829 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.5701, allocations: 188.8 kB / 0.8292 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5701, allocations: 3.312 kB / 0.8292 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5701, allocations: 37.06 kB / 0.8293 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 2.344e-06/0.5701, allocations: 0 / 0.8293 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00131/0.5714, allocations: 0.5243 MB / 0.8298 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.5715, allocations: 54.59 kB / 0.8298 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.5719, allocations: 320 kB / 0.8301 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.572, allocations: 30.73 kB / 0.8302 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.5721, allocations: 190.7 kB / 0.8303 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.5722, allocations: 83.47 kB / 0.8304 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.5723, allocations: 49.95 kB / 0.8305 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5724, allocations: 354.6 kB / 0.8308 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.5728, allocations: 151.9 kB / 0.831 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.5731, allocations: 177.8 kB / 0.8311 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.5739, allocations: 332.8 kB / 0.8314 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5739, allocations: 1.031 kB / 0.8314 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008155/0.5747, allocations: 408.4 kB / 0.8318 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5747, allocations: 6.75 kB / 0.8318 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5747, allocations: 5.188 kB / 0.8318 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.5748, allocations: 1.156 kB / 0.8318 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.5751, allocations: 69.81 kB / 0.8319 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5751, allocations: 5.766 kB / 0.8319 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.5754, allocations: 28.62 kB / 0.8319 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.5754, allocations: 14.53 kB / 0.832 GB, free: 8.578 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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.0002118/0.5756, allocations: 163.7 kB / 0.8321 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.5757, allocations: 36.16 kB / 0.8321 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.5757, allocations: 53.94 kB / 0.8322 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5758, allocations: 2.25 kB / 0.8322 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5758, allocations: 5.062 kB / 0.8322 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5758, allocations: 1.406 kB / 0.8322 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.5772, allocations: 0.8439 MB / 0.833 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5772, allocations: 0 / 0.833 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.5775, allocations: 64.8 kB / 0.8331 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5775, allocations: 1.031 kB / 0.8331 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.5775, allocations: 10.41 kB / 0.8331 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5775, allocations: 1 kB / 0.8331 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5775, allocations: 3.938 kB / 0.8331 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.5783, allocations: 492.8 kB / 0.8336 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.5784, allocations: 71.72 kB / 0.8336 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.5784, allocations: 1.641 kB / 0.8336 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5786, allocations: 21.8 kB / 0.8337 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.5787, allocations: 23.69 kB / 0.8337 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.5787, allocations: 8.406 kB / 0.8337 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002165/0.5789, allocations: 230.6 kB / 0.8339 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5789, allocations: 1.094 kB / 0.8339 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002958/0.5792, allocations: 73.48 kB / 0.834 GB, free: 7.488 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 (23): * Single equations (assignments): 23 * 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.001358/0.5806, allocations: 1.258 MB / 0.8352 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.5814, allocations: 340 kB / 0.8355 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5814, allocations: 0 / 0.8355 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.5817, allocations: 174.8 kB / 0.8357 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.5821, allocations: 87.17 kB / 0.8358 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.5869, allocations: 3.537 MB / 0.8392 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.5871, allocations: 197.3 kB / 0.8394 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.5875, allocations: 115.3 kB / 0.8395 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.5877, allocations: 119.7 kB / 0.8397 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of SimCode: time 1.462e-06/0.5877, allocations: 0 / 0.8397 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.6172, allocations: 9.081 MB / 0.8485 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.585, allocations: 10.72 kB / 0.8485 GB, free: 15.6 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.526407854165882] Failed to read output from testmodel.py, exit status != 0: 7.66549310227856 7.674877403 7.108757373 Calling exit ...