Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001211/0.001211, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001366/0.001366, allocations: 218.3 kB / 22.25 MB, free: 3.699 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.9269/0.9269, allocations: 230.6 MB / 256 MB, free: 9.82 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.7628/0.7628, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.0009444/0.0009444, allocations: 70.41 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4953, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002249/0.4975, allocations: 1.927 MB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.5013, allocations: 3.766 MB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.5014, allocations: 2.25 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.5022, allocations: 204 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.5024, allocations: 68.06 kB / 0.8237 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.5025, allocations: 61.98 kB / 0.8237 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.503, allocations: 272.3 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.5031, allocations: 28.47 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.5032, allocations: 78.67 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.5034, allocations: 80.98 kB / 0.8242 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.5034, allocations: 8.156 kB / 0.8242 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.5035, allocations: 35.39 kB / 0.8242 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.5035, allocations: 59.36 kB / 0.8243 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.5036, allocations: 92.05 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.5039, allocations: 209 kB / 0.8246 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5039, allocations: 0 / 0.8246 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5039, allocations: 1.281 kB / 0.8246 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5039, allocations: 0 / 0.8246 GB, free: 12.66 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.000652/0.5045, allocations: 472.4 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5046, allocations: 10 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.5046, allocations: 42.58 kB / 0.8251 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.5051, allocations: 120.8 kB / 0.8252 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.5055, allocations: 208 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5055, allocations: 10.36 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.5055, allocations: 4.344 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.5058, allocations: 162.3 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.5058, allocations: 0 / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5058, allocations: 3.938 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.5058, allocations: 10.41 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.5061, allocations: 158.9 kB / 0.8257 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.5067, allocations: 448.5 kB / 0.8261 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.507, allocations: 182.4 kB / 0.8263 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.5072, allocations: 100.3 kB / 0.8264 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5072, allocations: 2.984 kB / 0.8264 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.5072, allocations: 39.59 kB / 0.8265 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.5072, allocations: 4 kB / 0.8265 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005685/0.5078, allocations: 318 kB / 0.8268 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.5078, allocations: 52.62 kB / 0.8268 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.5081, allocations: 259.5 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5081, allocations: 29.7 kB / 0.8271 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.5082, allocations: 146.1 kB / 0.8272 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.5082, allocations: 44.22 kB / 0.8273 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.5083, allocations: 33.27 kB / 0.8273 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.5084, allocations: 341.1 kB / 0.8276 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5085, allocations: 80.88 kB / 0.8277 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.5086, allocations: 84.38 kB / 0.8278 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.5089, allocations: 172.7 kB / 0.8279 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5089, allocations: 5.656 kB / 0.828 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003585/0.5093, allocations: 236.3 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5093, allocations: 6.047 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5093, allocations: 1.188 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5093, allocations: 0 / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5095, allocations: 43.8 kB / 0.8282 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5095, allocations: 0 / 0.8282 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-05/0.5096, allocations: 22.8 kB / 0.8282 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.5096, allocations: 16.72 kB / 0.8283 GB, free: 10.38 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 9.672e-05/0.5097, allocations: 136.2 kB / 0.8284 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.5097, allocations: 27.25 kB / 0.8284 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.5098, allocations: 28.45 kB / 0.8284 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.5098, allocations: 6.062 kB / 0.8285 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5098, allocations: 1.438 kB / 0.8285 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5098, allocations: 0.7969 kB / 0.8285 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.51, allocations: 253.3 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.51, allocations: 0.5156 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.5102, allocations: 38.48 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5102, allocations: 1 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5102, allocations: 8.078 kB / 0.8287 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5102, allocations: 1.312 kB / 0.8287 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5102, allocations: 4.797 kB / 0.8287 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.5106, allocations: 342.3 kB / 0.8291 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.5106, allocations: 41.98 kB / 0.8291 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.5106, allocations: 1.969 kB / 0.8291 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.5107, allocations: 16.27 kB / 0.8291 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.5108, allocations: 13.39 kB / 0.8291 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.5108, allocations: 9.172 kB / 0.8292 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001347/0.5109, allocations: 190 kB / 0.8293 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5109, allocations: 3.938 kB / 0.8293 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001908/0.5111, allocations: 38.59 kB / 0.8294 GB, free: 9.656 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.000595/0.5117, allocations: 0.858 MB / 0.8302 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.5121, allocations: 197.1 kB / 0.8304 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5121, allocations: 0 / 0.8304 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.5122, allocations: 99.27 kB / 0.8305 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.5126, allocations: 51.73 kB / 0.8305 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.5155, allocations: 2.491 MB / 0.833 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.5157, allocations: 0.7443 MB / 0.8337 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.5159, allocations: 59.08 kB / 0.8338 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.516, allocations: 62.06 kB / 0.8338 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.516, allocations: 0 / 0.8338 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.5393, allocations: 5.26 MB / 0.839 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/7.256, allocations: 3.641 kB / 0.839 GB, free: 5.062 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.143174065975472] Failed to read output from testmodel.py, exit status != 0: 7.334927208954468 7.3438335 6.838161621 Calling exit ...