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.001528/0.001528, allocations: 85.95 kB / 19.87 MB, free: 4.609 MB / 18.57 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.00144/0.00144, allocations: 165.7 kB / 23.27 MB, free: 1.215 MB / 18.57 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.9647/0.9647, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.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-535:34: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-535:42: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.7583/0.7583, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0.9844 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.093e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002176/0.002197, allocations: 1.911 MB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.005445, allocations: 3.7 MB / 0.5266 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.005533, allocations: 3.938 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.006134, allocations: 184.5 kB / 0.5268 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.006287, allocations: 89.2 kB / 0.5269 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 9.472e-05/0.006382, allocations: 52.36 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.006709, allocations: 289.2 kB / 0.5272 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.265e-05/0.006781, allocations: 17.8 kB / 0.5272 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.006896, allocations: 98.16 kB / 0.5273 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.006983, allocations: 71.73 kB / 0.5274 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.007002, allocations: 8 kB / 0.5274 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.007066, allocations: 23.98 kB / 0.5274 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.007114, allocations: 63.77 kB / 0.5275 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.007158, allocations: 62.28 kB / 0.5275 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.007319, allocations: 163.2 kB / 0.5277 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00732, allocations: 0 / 0.5277 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.007321, allocations: 0 / 0.5277 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.007324, allocations: 0 / 0.5277 GB, free: 10.83 MB / 0.4948 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.0004729/0.007797, allocations: 0.5561 MB / 0.5282 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.007828, allocations: 12.03 kB / 0.5282 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.008192, allocations: 93.69 kB / 0.5283 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.008352, allocations: 205.6 kB / 0.5285 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.00836, allocations: 384 / 0.5285 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.008372, allocations: 4.375 kB / 0.5285 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.008529, allocations: 120.1 kB / 0.5286 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.008534, allocations: 192 / 0.5286 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.008547, allocations: 12.12 kB / 0.5287 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.008569, allocations: 11.98 kB / 0.5287 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.008633, allocations: 27.97 kB / 0.5287 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.008981, allocations: 358.9 kB / 0.529 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.009086, allocations: 98.95 kB / 0.5291 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.009135, allocations: 39.66 kB / 0.5292 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.00915, allocations: 7.938 kB / 0.5292 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.009168, allocations: 41.39 kB / 0.5292 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.009169, allocations: 1.562 kB / 0.5292 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002155/0.009385, allocations: 132.6 kB / 0.5293 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.009407, allocations: 59.33 kB / 0.5294 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.009551, allocations: 310.2 kB / 0.5297 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.009565, allocations: 26.98 kB / 0.5297 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.00964, allocations: 198.7 kB / 0.5299 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.009673, allocations: 47.62 kB / 0.53 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.009718, allocations: 40 kB / 0.53 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.009838, allocations: 0.5157 MB / 0.5305 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.009877, allocations: 16.83 kB / 0.5305 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.009912, allocations: 17.14 kB / 0.5305 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.01, allocations: 51.67 kB / 0.5306 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01, allocations: 0 / 0.5306 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001487/0.01015, allocations: 118.8 kB / 0.5307 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01016, allocations: 8 kB / 0.5307 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01017, allocations: 7.922 kB / 0.5307 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.01018, allocations: 0.6875 kB / 0.5307 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01031, allocations: 32.61 kB / 0.5307 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01031, allocations: 0 / 0.5307 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.01038, allocations: 17.09 kB / 0.5308 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.01039, allocations: 4 kB / 0.5308 GB, free: 7.508 MB / 0.4948 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 7.885e-05/0.01047, allocations: 161.5 kB / 0.5309 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.0105, allocations: 31.8 kB / 0.5309 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.01054, allocations: 29.75 kB / 0.531 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01054, allocations: 8.891 kB / 0.531 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01055, allocations: 0 / 0.531 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01055, allocations: 0.5 kB / 0.531 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.01071, allocations: 163.7 kB / 0.5311 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01071, allocations: 0 / 0.5311 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.0108, allocations: 31.97 kB / 0.5312 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.0108, allocations: 0 / 0.5312 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.01082, allocations: 11.94 kB / 0.5312 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01082, allocations: 0 / 0.5312 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01082, allocations: 0 / 0.5312 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01102, allocations: 278.3 kB / 0.5314 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.01107, allocations: 43.75 kB / 0.5315 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.01109, allocations: 3.938 kB / 0.5315 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.01117, allocations: 4 kB / 0.5315 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.0112, allocations: 15.97 kB / 0.5315 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.01121, allocations: 4 kB / 0.5315 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.53e-05/0.0113, allocations: 206.9 kB / 0.5317 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0113, allocations: 4 kB / 0.5317 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001717/0.01147, allocations: 36 kB / 0.5317 GB, free: 6.449 MB / 0.4948 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 8.047e-05/0.01155, allocations: 98.34 kB / 0.5318 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.01168, allocations: 71.58 kB / 0.5319 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01169, allocations: 0 / 0.5319 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.01174, allocations: 47.59 kB / 0.532 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01202, allocations: 66.66 kB / 0.532 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.01271, allocations: 423.2 kB / 0.5324 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.84e-05/0.01277, allocations: 85.45 kB / 0.5325 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.01287, allocations: 29.52 kB / 0.5325 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.01301, allocations: 122.1 kB / 0.5326 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01301, allocations: 0 / 0.5326 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.004792/0.0178, allocations: 2.939 MB / 0.5355 GB, free: 2.734 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4531622361391783]