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.0009745/0.0009745, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001314/0.001314, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.629 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.8197/0.8197, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001031/0.001031, allocations: 66.45 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5837, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.003022/0.5867, allocations: 2.337 MB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005375/0.5921, allocations: 5.007 MB / 0.825 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.5923, allocations: 6.25 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5933, allocations: 257.5 kB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.5936, allocations: 138.7 kB / 0.8254 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.5938, allocations: 76.27 kB / 0.8255 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.5944, allocations: 405.9 kB / 0.8259 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.5946, allocations: 63.25 kB / 0.8259 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.5949, allocations: 150.3 kB / 0.8261 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.5952, allocations: 151.4 kB / 0.8262 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.5952, allocations: 15.97 kB / 0.8263 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.5953, allocations: 43.3 kB / 0.8263 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.5954, allocations: 92.97 kB / 0.8264 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.5956, allocations: 151.3 kB / 0.8265 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.5961, allocations: 344.2 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5961, allocations: 4.75 kB / 0.8269 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5961, allocations: 0 / 0.8269 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.5961, allocations: 1.344 kB / 0.8269 GB, free: 11.17 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.001078/0.5972, allocations: 0.608 MB / 0.8275 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5972, allocations: 10.92 kB / 0.8275 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.487e-05/0.5973, allocations: 66.84 kB / 0.8275 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.5981, allocations: 203.8 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.5987, allocations: 286.2 kB / 0.828 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5987, allocations: 10.38 kB / 0.828 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.5987, allocations: 13.06 kB / 0.828 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.5993, allocations: 333.3 kB / 0.8283 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5993, allocations: 3.281 kB / 0.8283 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.5993, allocations: 7.938 kB / 0.8283 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.5994, allocations: 20.94 kB / 0.8284 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.6, allocations: 339.9 kB / 0.8287 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.6015, allocations: 0.7883 MB / 0.8295 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.6021, allocations: 314.4 kB / 0.8298 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.6024, allocations: 185.8 kB / 0.8299 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.6025, allocations: 6.672 kB / 0.8299 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.6025, allocations: 36.67 kB / 0.83 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 4.288e-06/0.6025, allocations: 5.031 kB / 0.83 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00101/0.6035, allocations: 0.5274 MB / 0.8305 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.6035, allocations: 54.31 kB / 0.8306 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.6039, allocations: 319.4 kB / 0.8309 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.6039, allocations: 30.7 kB / 0.8309 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.6041, allocations: 191.1 kB / 0.8311 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.6042, allocations: 79.31 kB / 0.8311 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6043, allocations: 49.64 kB / 0.8312 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6044, allocations: 354.3 kB / 0.8315 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.6047, allocations: 149.1 kB / 0.8317 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.6051, allocations: 179.1 kB / 0.8318 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.6057, allocations: 340.6 kB / 0.8322 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6057, allocations: 1.094 kB / 0.8322 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007137/0.6064, allocations: 405.2 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6065, allocations: 5.062 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6065, allocations: 1.875 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6065, allocations: 1.344 kB / 0.8326 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.6068, allocations: 69.36 kB / 0.8326 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.6068, allocations: 2.344 kB / 0.8326 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.607, allocations: 36.16 kB / 0.8327 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.607, allocations: 13.73 kB / 0.8327 GB, free: 8.121 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.0001639/0.6072, allocations: 161.2 kB / 0.8328 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.6072, allocations: 35.14 kB / 0.8329 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.6073, allocations: 50.42 kB / 0.8329 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6073, allocations: 2.125 kB / 0.8329 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6073, allocations: 0.7969 kB / 0.8329 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6073, allocations: 2.234 kB / 0.8329 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.6087, allocations: 0.8829 MB / 0.8338 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6087, allocations: 4 kB / 0.8338 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6089, allocations: 61.09 kB / 0.8338 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6089, allocations: 1.094 kB / 0.8338 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.609, allocations: 6.094 kB / 0.8338 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.609, allocations: 1.844 kB / 0.8339 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.609, allocations: 3.938 kB / 0.8339 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.6097, allocations: 499.2 kB / 0.8343 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6098, allocations: 68.84 kB / 0.8344 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.6098, allocations: 5.984 kB / 0.8344 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.61, allocations: 24.56 kB / 0.8344 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.6101, allocations: 31.66 kB / 0.8345 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.6101, allocations: 7.688 kB / 0.8345 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002106/0.6103, allocations: 230.6 kB / 0.8347 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6103, allocations: 0 / 0.8347 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002779/0.6106, allocations: 74.55 kB / 0.8348 GB, free: 7.012 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.001311/0.6119, allocations: 1.256 MB / 0.836 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.6126, allocations: 335.6 kB / 0.8363 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6126, allocations: 1.094 kB / 0.8363 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.6129, allocations: 173.1 kB / 0.8365 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.6133, allocations: 86.08 kB / 0.8365 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.618, allocations: 3.531 MB / 0.84 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.6183, allocations: 0.8036 MB / 0.8408 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.6187, allocations: 114.8 kB / 0.8409 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6189, allocations: 116.6 kB / 0.841 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of SimCode: time 1.863e-06/0.6189, allocations: 0 / 0.841 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.6484, allocations: 8.337 MB / 0.8491 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.709, allocations: 4.906 kB / 0.8491 GB, free: 15.11 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.819285451900214] Failed to read output from testmodel.py, exit status != 0: 7.788674805080518 7.80111174 7.202370544 Calling exit ...