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.0008251/0.0008251, 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.0007957/0.0007957, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9649/0.9649, allocations: 230.6 MB / 256 MB, free: 9.812 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.7867/0.7867, allocations: 203.8 MB / 0.5042 GB, free: 10.62 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.0009056/0.0009056, allocations: 70.08 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4789, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002165/0.481, allocations: 1.926 MB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.484, allocations: 3.76 MB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.4841, allocations: 6.25 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.4847, allocations: 195.3 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.4848, allocations: 78.92 kB / 0.8237 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.572e-05/0.4849, allocations: 55.67 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.4853, allocations: 278 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.4853, allocations: 25.42 kB / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.4854, allocations: 77.77 kB / 0.8241 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4856, allocations: 80.83 kB / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4856, allocations: 7.875 kB / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.4856, allocations: 35.59 kB / 0.8242 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.4857, allocations: 66.3 kB / 0.8243 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.4858, allocations: 89.48 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.486, allocations: 200.5 kB / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.486, allocations: 4.656 kB / 0.8246 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.452e-06/0.486, allocations: 0 / 0.8246 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.486, allocations: 0 / 0.8246 GB, free: 12.67 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.0005951/0.4866, allocations: 474.9 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4866, allocations: 14.31 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.4867, allocations: 43.08 kB / 0.8251 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.4871, allocations: 121 kB / 0.8252 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.4874, allocations: 211.4 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.4874, allocations: 1.719 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4874, allocations: 8.125 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.4877, allocations: 158.8 kB / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.4877, allocations: 0 / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4877, allocations: 9.312 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.4877, allocations: 10.31 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.488, allocations: 154.6 kB / 0.8257 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.4885, allocations: 447.3 kB / 0.8261 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.4888, allocations: 184.5 kB / 0.8263 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.489, allocations: 103.7 kB / 0.8264 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.489, allocations: 2.562 kB / 0.8264 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.489, allocations: 34.56 kB / 0.8264 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.489, allocations: 2.594 kB / 0.8265 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000549/0.4896, allocations: 319 kB / 0.8268 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4896, allocations: 58.64 kB / 0.8268 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4898, allocations: 254.3 kB / 0.8271 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4898, allocations: 25.7 kB / 0.8271 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.4899, allocations: 144.9 kB / 0.8272 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.4899, allocations: 48.36 kB / 0.8273 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.49, allocations: 33.97 kB / 0.8273 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.4901, allocations: 340.9 kB / 0.8276 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4902, allocations: 85.31 kB / 0.8277 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4904, allocations: 87.08 kB / 0.8278 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.4906, allocations: 178.4 kB / 0.828 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4906, allocations: 0 / 0.828 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003441/0.491, allocations: 242.8 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.491, allocations: 4.5 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.491, allocations: 1.469 kB / 0.8282 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.491, allocations: 4 kB / 0.8282 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4912, allocations: 39.41 kB / 0.8282 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4912, allocations: 4.688 kB / 0.8282 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.4913, allocations: 16.97 kB / 0.8283 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4913, allocations: 13.44 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.457e-05/0.4914, allocations: 137.2 kB / 0.8284 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.4914, allocations: 30.28 kB / 0.8284 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.4914, allocations: 33.06 kB / 0.8285 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4914, allocations: 2.125 kB / 0.8285 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4914, allocations: 1.312 kB / 0.8285 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4914, allocations: 0.5625 kB / 0.8285 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4917, allocations: 249.6 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4917, allocations: 0 / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4918, allocations: 39.39 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4918, allocations: 2.078 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4918, allocations: 2.547 kB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4918, allocations: 4.797 kB / 0.8287 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4918, allocations: 1.25 kB / 0.8287 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.4922, allocations: 341.7 kB / 0.8291 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.4922, allocations: 42.17 kB / 0.8291 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4922, allocations: 6.188 kB / 0.8291 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4924, allocations: 12.02 kB / 0.8291 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.4924, allocations: 13.67 kB / 0.8291 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4924, allocations: 9.5 kB / 0.8292 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001214/0.4925, allocations: 189.7 kB / 0.8293 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4925, allocations: 0 / 0.8293 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001765/0.4927, allocations: 34.31 kB / 0.8294 GB, free: 9.668 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.0005519/0.4933, allocations: 0.8632 MB / 0.8302 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.4936, allocations: 192.5 kB / 0.8304 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.4936, allocations: 1.125 kB / 0.8304 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.4938, allocations: 98.61 kB / 0.8305 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4941, allocations: 60.03 kB / 0.8305 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.4966, allocations: 2.49 MB / 0.833 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.4968, allocations: 0.7441 MB / 0.8337 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.497, allocations: 64.38 kB / 0.8338 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.4971, allocations: 65.42 kB / 0.8338 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.4971, allocations: 4 kB / 0.8338 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.5197, allocations: 5.24 MB / 0.8389 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/7.275, allocations: 9.156 kB / 0.839 GB, free: 5.051 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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.160489968024194] Failed to read output from testmodel.py, exit status != 0: 7.352619028883055 7.365127972 6.87634268 Calling exit ...