Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001043/0.001043, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009755/0.0009755, allocations: 173 kB / 23.49 MB, free: 1.062 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.9619/0.9619, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7808/0.7808, allocations: 154.6 MB / 414.9 MB, free: 0.6758 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.751e-05, allocations: 8.219 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002239/0.002256, allocations: 1.915 MB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.005557, allocations: 3.736 MB / 0.5258 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.005653, allocations: 7.875 kB / 0.5259 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.006323, allocations: 177.5 kB / 0.526 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.006482, allocations: 76.94 kB / 0.5261 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.006586, allocations: 61.14 kB / 0.5262 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.006958, allocations: 285 kB / 0.5264 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.007049, allocations: 25.73 kB / 0.5265 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.007153, allocations: 102.8 kB / 0.5266 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.007255, allocations: 71.8 kB / 0.5266 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.007274, allocations: 8 kB / 0.5266 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.007337, allocations: 23.97 kB / 0.5267 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.007395, allocations: 63.77 kB / 0.5267 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.007446, allocations: 51.86 kB / 0.5268 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.007633, allocations: 167.2 kB / 0.5269 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007635, allocations: 2.75 kB / 0.5269 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.007636, allocations: 0 / 0.5269 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00764, allocations: 0 / 0.5269 GB, free: 11.79 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.0005721/0.008212, allocations: 0.5577 MB / 0.5275 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.008252, allocations: 8.031 kB / 0.5275 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.00847, allocations: 61.25 kB / 0.5275 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.00871, allocations: 205.9 kB / 0.5277 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.00872, allocations: 4.906 kB / 0.5277 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.008734, allocations: 4.375 kB / 0.5277 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.008923, allocations: 110.1 kB / 0.5278 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.008929, allocations: 0.8438 kB / 0.5278 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.008944, allocations: 8.125 kB / 0.5279 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.008976, allocations: 12.83 kB / 0.5279 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.009067, allocations: 35.97 kB / 0.5279 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.0095, allocations: 405.8 kB / 0.5283 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.009639, allocations: 97.34 kB / 0.5284 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.009708, allocations: 43.67 kB / 0.5284 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.009723, allocations: 4 kB / 0.5284 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.009742, allocations: 35.83 kB / 0.5285 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.009743, allocations: 0 / 0.5285 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002756/0.01002, allocations: 141.7 kB / 0.5286 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.01005, allocations: 59.41 kB / 0.5286 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.01023, allocations: 302.4 kB / 0.5289 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01025, allocations: 32.11 kB / 0.529 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.01033, allocations: 198.7 kB / 0.5292 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.01037, allocations: 43.64 kB / 0.5292 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.01041, allocations: 35.36 kB / 0.5292 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01054, allocations: 0.5118 MB / 0.5297 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.01059, allocations: 19.98 kB / 0.5298 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.01063, allocations: 20.89 kB / 0.5298 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.01073, allocations: 63 kB / 0.5298 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01074, allocations: 2.531 kB / 0.5298 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.01089, allocations: 121.5 kB / 0.53 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01091, allocations: 4 kB / 0.53 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01091, allocations: 0 / 0.53 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01092, allocations: 4 kB / 0.53 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01105, allocations: 27.97 kB / 0.53 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01105, allocations: 3.906 kB / 0.53 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.01111, allocations: 15.89 kB / 0.53 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01112, allocations: 4 kB / 0.53 GB, free: 8.453 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 8.182e-05/0.0112, allocations: 168.5 kB / 0.5302 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.01124, allocations: 27.8 kB / 0.5302 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.01128, allocations: 33.8 kB / 0.5302 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01128, allocations: 0 / 0.5302 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01128, allocations: 3.938 kB / 0.5302 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01129, allocations: 3.984 kB / 0.5302 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01145, allocations: 207.6 kB / 0.5304 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01145, allocations: 0 / 0.5304 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.01153, allocations: 31.91 kB / 0.5305 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.01153, allocations: 0 / 0.5305 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01154, allocations: 4 kB / 0.5305 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01154, allocations: 0 / 0.5305 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01154, allocations: 3.984 kB / 0.5305 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.01175, allocations: 265.3 kB / 0.5307 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.0118, allocations: 47.7 kB / 0.5308 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.01182, allocations: 0 / 0.5308 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.01189, allocations: 8 kB / 0.5308 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.01193, allocations: 13.12 kB / 0.5308 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.01194, allocations: 8 kB / 0.5308 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.977e-05/0.01204, allocations: 207 kB / 0.531 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01204, allocations: 5.469 kB / 0.531 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001788/0.01222, allocations: 36 kB / 0.531 GB, free: 7.344 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 0.0001029/0.01232, allocations: 107.8 kB / 0.5311 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.01248, allocations: 74.45 kB / 0.5312 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01248, allocations: 4 kB / 0.5312 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/0.01254, allocations: 48.72 kB / 0.5313 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.01281, allocations: 60.42 kB / 0.5313 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.01356, allocations: 426.8 kB / 0.5317 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.8e-05/0.01361, allocations: 87.81 kB / 0.5318 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.466e-05/0.0137, allocations: 39.2 kB / 0.5318 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.01375, allocations: 20.48 kB / 0.5319 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.01375, allocations: 1.594 kB / 0.5319 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.003935/0.01768, allocations: 2.622 MB / 0.5344 GB, free: 4.004 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.663661187980324]