Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008148/0.0008148, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0009308/0.0009308, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9723/0.9723, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.7471/0.7471, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.038e-05, allocations: 6.562 kB / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002153/0.002173, allocations: 1.89 MB / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.005632, allocations: 3.653 MB / 0.5269 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.005729, allocations: 3.938 kB / 0.527 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.006361, allocations: 166.5 kB / 0.5271 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.006517, allocations: 75.47 kB / 0.5272 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.006618, allocations: 49.86 kB / 0.5272 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.006973, allocations: 288.5 kB / 0.5275 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.007047, allocations: 13.81 kB / 0.5275 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.007157, allocations: 104.5 kB / 0.5276 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.007245, allocations: 67.8 kB / 0.5277 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.007262, allocations: 5 kB / 0.5277 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.007329, allocations: 27.98 kB / 0.5277 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.007382, allocations: 56.86 kB / 0.5278 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.007426, allocations: 47.86 kB / 0.5278 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.007587, allocations: 164.8 kB / 0.528 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.007588, allocations: 0 / 0.528 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007589, allocations: 0 / 0.528 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.007593, allocations: 0 / 0.528 GB, free: 11.3 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.0004602/0.008053, allocations: 0.5491 MB / 0.5285 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.008082, allocations: 12.02 kB / 0.5285 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.008253, allocations: 52.77 kB / 0.5286 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.008399, allocations: 199.5 kB / 0.5288 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.008408, allocations: 384 / 0.5288 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.00842, allocations: 15.34 kB / 0.5288 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.008561, allocations: 90.88 kB / 0.5289 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.008567, allocations: 192 / 0.5289 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.00858, allocations: 12.12 kB / 0.5289 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.008604, allocations: 7.984 kB / 0.5289 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.00866, allocations: 30 kB / 0.5289 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.008992, allocations: 349.7 kB / 0.5292 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.009094, allocations: 79.52 kB / 0.5293 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.009142, allocations: 42.88 kB / 0.5294 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.009155, allocations: 7.938 kB / 0.5294 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.009174, allocations: 41.39 kB / 0.5294 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 8.31e-07/0.009175, allocations: 0 / 0.5294 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.000205/0.00938, allocations: 121.5 kB / 0.5295 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.00941, allocations: 51.41 kB / 0.5296 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.009557, allocations: 296.2 kB / 0.5299 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.009571, allocations: 28.14 kB / 0.5299 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.009655, allocations: 202.7 kB / 0.5301 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.009687, allocations: 39.66 kB / 0.5301 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.009728, allocations: 35.34 kB / 0.5301 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.009851, allocations: 0.5118 MB / 0.5306 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.009883, allocations: 19.98 kB / 0.5307 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.009912, allocations: 13.42 kB / 0.5307 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.009984, allocations: 54.05 kB / 0.5307 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009986, allocations: 0 / 0.5307 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001238/0.01011, allocations: 106.4 kB / 0.5308 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.01012, allocations: 8 kB / 0.5308 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01013, allocations: 0 / 0.5308 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.01013, allocations: 5.094 kB / 0.5308 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01024, allocations: 31.97 kB / 0.5309 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.01024, allocations: 0 / 0.5309 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.01029, allocations: 17.52 kB / 0.5309 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.0103, allocations: 0 / 0.5309 GB, free: 8.145 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.489e-05/0.01038, allocations: 168.5 kB / 0.5311 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.01041, allocations: 38.19 kB / 0.5311 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.01044, allocations: 29.77 kB / 0.5311 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.01044, allocations: 0 / 0.5311 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01045, allocations: 0 / 0.5311 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01045, allocations: 0 / 0.5311 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.01093, allocations: 157.2 kB / 0.5313 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01093, allocations: 6.047 kB / 0.5313 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.011, allocations: 31.97 kB / 0.5313 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.011, allocations: 0 / 0.5313 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.01101, allocations: 3.938 kB / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.01101, allocations: 0 / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.01101, allocations: 1.406 kB / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.01118, allocations: 267.7 kB / 0.5316 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.01121, allocations: 31.8 kB / 0.5316 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.01123, allocations: 7.938 kB / 0.5316 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.0113, allocations: 13.27 kB / 0.5316 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.01133, allocations: 7.984 kB / 0.5316 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01134, allocations: 8.641 kB / 0.5316 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.491e-05/0.01142, allocations: 193.1 kB / 0.5318 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01142, allocations: 0.625 kB / 0.5318 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001792/0.0116, allocations: 43.94 kB / 0.5319 GB, free: 7.105 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 9.112e-05/0.01169, allocations: 102.6 kB / 0.532 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.0118, allocations: 63.58 kB / 0.532 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.0118, allocations: 1.5 kB / 0.532 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.01185, allocations: 51.58 kB / 0.5321 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.0121, allocations: 58.08 kB / 0.5321 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.01271, allocations: 396.1 kB / 0.5325 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.01276, allocations: 89.05 kB / 0.5326 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.475e-05/0.01282, allocations: 21.86 kB / 0.5326 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.01293, allocations: 114.2 kB / 0.5327 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01293, allocations: 1.344 kB / 0.5327 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.003978/0.01691, allocations: 2.617 MB / 0.5353 GB, free: 3.738 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5398634360171854]