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.001879/0.001879, allocations: 85.48 kB / 19.44 MB, free: 344 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.002078/0.002078, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.646/1.646, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] 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 1.443/1.443, allocations: 154.6 MB / 414.1 MB, free: 0.5859 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 178] 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.884e-06/1.884e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.337e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.005649/0.005682, allocations: 1.898 MB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005516/0.0112, allocations: 3.72 MB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.01133, allocations: 9.219 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008775/0.01221, allocations: 168.5 kB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.01246, allocations: 88.86 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.01259, allocations: 49.7 kB / 0.5254 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005622/0.01316, allocations: 297.1 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.01326, allocations: 17.81 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.01345, allocations: 107.6 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.01383, allocations: 70.55 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.01387, allocations: 8 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.01397, allocations: 27.98 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.01406, allocations: 59.77 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.01415, allocations: 51.86 kB / 0.526 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.01449, allocations: 211.1 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01449, allocations: 0 / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01449, allocations: 1.469 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.0145, allocations: 0 / 0.5262 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.000994/0.01549, allocations: 0.5583 MB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01553, allocations: 8.031 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.0159, allocations: 57.66 kB / 0.5268 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.01629, allocations: 213.4 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.0163, allocations: 6.469 kB / 0.527 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.01632, allocations: 8.359 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.0166, allocations: 98.17 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.01661, allocations: 192 / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.01663, allocations: 4.719 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.01666, allocations: 11.98 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.01698, allocations: 82.73 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.01775, allocations: 420.4 kB / 0.5276 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.01808, allocations: 125.6 kB / 0.5278 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.01829, allocations: 63.66 kB / 0.5278 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.01831, allocations: 0 / 0.5278 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.01835, allocations: 41.39 kB / 0.5279 GB, free: 10 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.01835, allocations: 3.125 kB / 0.5279 GB, free: 10 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0006957/0.01904, allocations: 200.9 kB / 0.528 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.0191, allocations: 55.41 kB / 0.5281 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.01945, allocations: 334.3 kB / 0.5284 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01948, allocations: 29.7 kB / 0.5284 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01964, allocations: 191.7 kB / 0.5286 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.0197, allocations: 51.62 kB / 0.5287 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.01978, allocations: 40.08 kB / 0.5287 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003044/0.02008, allocations: 0.5157 MB / 0.5292 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.02024, allocations: 43.34 kB / 0.5293 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.02039, allocations: 43.97 kB / 0.5293 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.02071, allocations: 95.66 kB / 0.5294 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02071, allocations: 0 / 0.5294 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004494/0.02116, allocations: 168.9 kB / 0.5296 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.02118, allocations: 7.984 kB / 0.5296 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.02118, allocations: 0 / 0.5296 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.02119, allocations: 0 / 0.5296 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.02142, allocations: 23.98 kB / 0.5296 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.02143, allocations: 4 kB / 0.5296 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.02157, allocations: 18.88 kB / 0.5296 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.02159, allocations: 4 kB / 0.5296 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 0.0001458/0.02173, allocations: 168.5 kB / 0.5298 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.02179, allocations: 27.8 kB / 0.5298 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.02187, allocations: 33.8 kB / 0.5298 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.02188, allocations: 0 / 0.5298 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.02188, allocations: 4 kB / 0.5298 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.02189, allocations: 7.953 kB / 0.5298 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.02221, allocations: 212.5 kB / 0.53 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.02221, allocations: 0 / 0.53 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.02242, allocations: 35.91 kB / 0.5301 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.02242, allocations: 0 / 0.5301 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.02244, allocations: 7.938 kB / 0.5301 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02244, allocations: 0 / 0.5301 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02244, allocations: 4 kB / 0.5301 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.02298, allocations: 310.7 kB / 0.5304 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.02308, allocations: 35.78 kB / 0.5304 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.02312, allocations: 4.562 kB / 0.5304 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.02328, allocations: 9.203 kB / 0.5304 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.02334, allocations: 11.98 kB / 0.5304 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.02336, allocations: 7.984 kB / 0.5305 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002096/0.02357, allocations: 223.7 kB / 0.5307 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02357, allocations: 0 / 0.5307 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002801/0.02385, allocations: 44.56 kB / 0.5307 GB, free: 6.965 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.0001886/0.02404, allocations: 99.92 kB / 0.5308 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.02445, allocations: 121.6 kB / 0.5309 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02445, allocations: 4 kB / 0.5309 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.02465, allocations: 70.02 kB / 0.531 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.02509, allocations: 61.31 kB / 0.531 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.02596, allocations: 423 kB / 0.5315 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.02611, allocations: 124.6 kB / 0.5316 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.02627, allocations: 52.02 kB / 0.5316 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.02634, allocations: 20.48 kB / 0.5316 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.02634, allocations: 0 / 0.5316 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of Templates: time 0.007059/0.0334, allocations: 2.62 MB / 0.5342 GB, free: 3.52 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: 6.230918299057521]