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.0006584/0.0006584, 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.0007721/0.0007721, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9417/0.9417, allocations: 230.6 MB / 256 MB, free: 9.605 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.8089/0.8089, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009959/0.0009959, allocations: 66.62 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5164, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.003356/0.5198, allocations: 2.199 MB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005245/0.525, allocations: 4.596 MB / 0.8244 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.5252, allocations: 2.406 kB / 0.8244 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.5262, allocations: 246 kB / 0.8247 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.5265, allocations: 134.3 kB / 0.8248 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.5267, allocations: 74.19 kB / 0.8249 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000592/0.5273, allocations: 409.6 kB / 0.8253 GB, free: 12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.5275, allocations: 59.05 kB / 0.8253 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.5278, allocations: 150.3 kB / 0.8255 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.528, allocations: 147.1 kB / 0.8256 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.528, allocations: 16.81 kB / 0.8256 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.5282, allocations: 32.7 kB / 0.8257 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.5283, allocations: 92.16 kB / 0.8257 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.5284, allocations: 123.2 kB / 0.8259 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.5289, allocations: 350.2 kB / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5289, allocations: 0 / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5289, allocations: 0 / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.5289, allocations: 0 / 0.8262 GB, free: 11.59 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.0009766/0.5299, allocations: 0.613 MB / 0.8268 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.53, allocations: 9.875 kB / 0.8268 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.5301, allocations: 63.59 kB / 0.8269 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.5309, allocations: 207 kB / 0.8271 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.5315, allocations: 287.1 kB / 0.8273 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5315, allocations: 9.875 kB / 0.8273 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.5315, allocations: 24.95 kB / 0.8274 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.5321, allocations: 323.1 kB / 0.8277 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5321, allocations: 4 kB / 0.8277 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.5321, allocations: 9.203 kB / 0.8277 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.5322, allocations: 29.88 kB / 0.8277 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.5328, allocations: 332 kB / 0.828 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.5341, allocations: 0.7365 MB / 0.8287 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.5347, allocations: 309.6 kB / 0.829 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.535, allocations: 184.9 kB / 0.8292 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.535, allocations: 6.547 kB / 0.8292 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.535, allocations: 41.34 kB / 0.8293 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/0.535, allocations: 0 / 0.8293 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00105/0.5361, allocations: 0.5261 MB / 0.8298 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5361, allocations: 55.28 kB / 0.8298 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.5365, allocations: 319.8 kB / 0.8301 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.5365, allocations: 30.95 kB / 0.8302 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5366, allocations: 190.5 kB / 0.8303 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.5367, allocations: 87.39 kB / 0.8304 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5368, allocations: 49.45 kB / 0.8305 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5369, allocations: 350.9 kB / 0.8308 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.5373, allocations: 144.8 kB / 0.831 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.5376, allocations: 184.7 kB / 0.8311 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.5381, allocations: 333.7 kB / 0.8314 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5381, allocations: 0 / 0.8314 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006669/0.5388, allocations: 406.8 kB / 0.8318 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5388, allocations: 5.594 kB / 0.8318 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.5388, allocations: 1.219 kB / 0.8318 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5388, allocations: 1.672 kB / 0.8318 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.5391, allocations: 65.16 kB / 0.8319 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5391, allocations: 1.703 kB / 0.8319 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.5393, allocations: 33.45 kB / 0.8319 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.5394, allocations: 16.53 kB / 0.832 GB, free: 8.555 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.0004885/0.5399, allocations: 161.1 kB / 0.8321 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.5399, allocations: 36.41 kB / 0.8321 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.54, allocations: 54.08 kB / 0.8322 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.54, allocations: 2.375 kB / 0.8322 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.54, allocations: 0 / 0.8322 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.54, allocations: 2.469 kB / 0.8322 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.5413, allocations: 0.8477 MB / 0.833 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5413, allocations: 1.922 kB / 0.833 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.5415, allocations: 55.81 kB / 0.8331 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.5415, allocations: 6.219 kB / 0.8331 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.5415, allocations: 13.17 kB / 0.8331 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5415, allocations: 1.438 kB / 0.8331 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5415, allocations: 11.88 kB / 0.8331 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.5422, allocations: 498.4 kB / 0.8336 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5424, allocations: 64.41 kB / 0.8336 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5424, allocations: 5.125 kB / 0.8337 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.5426, allocations: 22.64 kB / 0.8337 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.5426, allocations: 23.77 kB / 0.8337 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.5426, allocations: 7.953 kB / 0.8337 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001949/0.5428, allocations: 229.9 kB / 0.8339 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5428, allocations: 1.312 kB / 0.8339 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002817/0.5431, allocations: 76.8 kB / 0.834 GB, free: 7.457 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.001267/0.5444, allocations: 1.251 MB / 0.8352 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006504/0.545, allocations: 340.4 kB / 0.8355 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.545, allocations: 0 / 0.8355 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.5453, allocations: 172.8 kB / 0.8357 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.5458, allocations: 96.48 kB / 0.8358 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.5497, allocations: 3.525 MB / 0.8392 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.5499, allocations: 192.7 kB / 0.8394 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.5502, allocations: 124.3 kB / 0.8395 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.5504, allocations: 119 kB / 0.8397 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.5504, allocations: 1.656 kB / 0.8397 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.5766, allocations: 9.066 MB / 0.8485 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.527, allocations: 15.3 kB / 0.8485 GB, free: 15.59 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 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.56060348590836] Failed to read output from testmodel.py, exit status != 0: 7.6081521599553525 7.623084123 7.091990873 Calling exit ...