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.001071/0.001071, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001228/0.001228, allocations: 173 kB / 23.02 MB, free: 1.547 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.9492/0.9492, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.725/0.725, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 2.064e-06/2.064e-06, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.965e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002562/0.002591, allocations: 1.923 MB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003405/0.005997, allocations: 3.731 MB / 0.5258 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.006118, allocations: 0 / 0.5258 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.006878, allocations: 186.9 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.007073, allocations: 75.47 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.007189, allocations: 60.3 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.007614, allocations: 285.5 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.007715, allocations: 25.73 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.00785, allocations: 102.3 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.007949, allocations: 67.8 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.007969, allocations: 8 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.00805, allocations: 27.97 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.008108, allocations: 55.78 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.008161, allocations: 55.84 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.008375, allocations: 170 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008379, allocations: 0 / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.00838, allocations: 0 / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.008386, allocations: 0 / 0.5269 GB, free: 11.46 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.0005922/0.008978, allocations: 0.5538 MB / 0.5275 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.009018, allocations: 12.03 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.009251, allocations: 57.8 kB / 0.5275 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.009458, allocations: 201.6 kB / 0.5277 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.009468, allocations: 5.312 kB / 0.5277 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.009485, allocations: 12.34 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.009685, allocations: 100.2 kB / 0.5278 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.009692, allocations: 192 / 0.5278 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.009707, allocations: 8.781 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.009739, allocations: 8 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.009826, allocations: 37.28 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.01029, allocations: 407.5 kB / 0.5283 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.01045, allocations: 101.4 kB / 0.5284 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.01052, allocations: 43.67 kB / 0.5284 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.01053, allocations: 3.938 kB / 0.5284 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.01055, allocations: 37.39 kB / 0.5284 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.01055, allocations: 3.938 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002745/0.01083, allocations: 139.6 kB / 0.5286 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.01086, allocations: 55.41 kB / 0.5286 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.01103, allocations: 314.3 kB / 0.5289 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.01105, allocations: 25.7 kB / 0.529 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.01113, allocations: 194.7 kB / 0.5291 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01117, allocations: 43.66 kB / 0.5292 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.01122, allocations: 39.34 kB / 0.5292 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.01134, allocations: 0.5077 MB / 0.5297 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.01139, allocations: 19.98 kB / 0.5297 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.01143, allocations: 19.98 kB / 0.5298 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.01153, allocations: 59.61 kB / 0.5298 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01153, allocations: 0 / 0.5298 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001593/0.01169, allocations: 124.5 kB / 0.5299 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.0117, allocations: 4 kB / 0.5299 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01171, allocations: 3.984 kB / 0.5299 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01172, allocations: 3.062 kB / 0.5299 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01186, allocations: 27.98 kB / 0.53 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01186, allocations: 3.938 kB / 0.53 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.01192, allocations: 19.88 kB / 0.53 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.01194, allocations: 4 kB / 0.53 GB, free: 8.129 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.26e-05/0.01202, allocations: 156.6 kB / 0.5301 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.01205, allocations: 31.8 kB / 0.5302 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.01209, allocations: 33.17 kB / 0.5302 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.0121, allocations: 4 kB / 0.5302 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.0121, allocations: 0 / 0.5302 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01211, allocations: 3.984 kB / 0.5302 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01228, allocations: 200.5 kB / 0.5304 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01228, allocations: 0 / 0.5304 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.01237, allocations: 35.91 kB / 0.5304 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01237, allocations: 3.938 kB / 0.5304 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01239, allocations: 7.656 kB / 0.5304 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01239, allocations: 0 / 0.5304 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01239, allocations: 0 / 0.5304 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.0126, allocations: 271.7 kB / 0.5307 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.01265, allocations: 35.72 kB / 0.5307 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.01267, allocations: 7.984 kB / 0.5308 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.01274, allocations: 8 kB / 0.5308 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.01279, allocations: 11.97 kB / 0.5308 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.0128, allocations: 12 kB / 0.5308 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001044/0.01291, allocations: 208.2 kB / 0.531 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01291, allocations: 0 / 0.531 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001879/0.0131, allocations: 39.98 kB / 0.531 GB, free: 7.023 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.0001397/0.01324, allocations: 104.8 kB / 0.5311 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.0134, allocations: 75.64 kB / 0.5312 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0134, allocations: 0.75 kB / 0.5312 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.01347, allocations: 47.61 kB / 0.5312 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.01376, allocations: 66.47 kB / 0.5313 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.01457, allocations: 420.2 kB / 0.5317 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.01463, allocations: 88.38 kB / 0.5318 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000107/0.01473, allocations: 47.12 kB / 0.5318 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.01478, allocations: 20.48 kB / 0.5318 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.01478, allocations: 1.719 kB / 0.5319 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of Templates: time 0.004708/0.01949, allocations: 2.814 MB / 0.5346 GB, free: 3.496 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.607671046163887]