Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001036/0.001036, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001457/0.001457, allocations: 173 kB / 23.49 MB, free: 1.059 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.7929/0.7929, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5203 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.371e-05, allocations: 2.969 kB / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003876/0.003909, allocations: 2.077 MB / 0.5224 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.009081, allocations: 4.187 MB / 0.5265 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.009206, allocations: 0.8125 kB / 0.5265 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.009919, allocations: 190.6 kB / 0.5266 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.01003, allocations: 68.58 kB / 0.5267 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.01066, allocations: 311.6 kB / 0.527 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.01119, allocations: 402.6 kB / 0.5274 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.01131, allocations: 28.58 kB / 0.5274 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.01149, allocations: 158.3 kB / 0.5276 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.01161, allocations: 103.7 kB / 0.5277 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.01164, allocations: 16 kB / 0.5277 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.01204, allocations: 315.4 kB / 0.528 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.01214, allocations: 107.7 kB / 0.5281 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.01223, allocations: 93.03 kB / 0.5282 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005475/0.01278, allocations: 0.4983 MB / 0.5287 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.01278, allocations: 0 / 0.5287 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01278, allocations: 0.6562 kB / 0.5287 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.01279, allocations: 4 kB / 0.5287 GB, free: 9.98 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008372/0.01363, allocations: 0.7775 MB / 0.5294 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.01366, allocations: 8.031 kB / 0.5294 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.01393, allocations: 80.62 kB / 0.5295 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.01429, allocations: 285.2 kB / 0.5298 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.0143, allocations: 8.375 kB / 0.5298 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.01432, allocations: 12.31 kB / 0.5298 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.01456, allocations: 132.8 kB / 0.5299 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.01456, allocations: 192 / 0.5299 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.01458, allocations: 8.125 kB / 0.5299 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01459, allocations: 6.25 kB / 0.5299 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.01469, allocations: 37.52 kB / 0.53 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.01528, allocations: 0.49 MB / 0.5304 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.01539, allocations: 47.05 kB / 0.5305 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.01545, allocations: 34.95 kB / 0.5305 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.0155, allocations: 19.98 kB / 0.5305 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.01552, allocations: 37.39 kB / 0.5306 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.01552, allocations: 1.531 kB / 0.5306 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003189/0.01584, allocations: 157.7 kB / 0.5307 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.01587, allocations: 51.41 kB / 0.5308 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.01615, allocations: 440.4 kB / 0.5312 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.01617, allocations: 29.7 kB / 0.5312 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01629, allocations: 234.8 kB / 0.5315 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01632, allocations: 39.64 kB / 0.5315 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.01638, allocations: 51.34 kB / 0.5315 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01651, allocations: 0.5322 MB / 0.5321 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.0166, allocations: 57.69 kB / 0.5321 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.01667, allocations: 67.91 kB / 0.5322 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01682, allocations: 119 kB / 0.5323 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01682, allocations: 0 / 0.5323 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002489/0.01707, allocations: 246 kB / 0.5325 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.0171, allocations: 43.12 kB / 0.5326 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01711, allocations: 0 / 0.5326 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01712, allocations: 0 / 0.5326 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01727, allocations: 36.58 kB / 0.5326 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01727, allocations: 0.6562 kB / 0.5326 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.01736, allocations: 29.38 kB / 0.5326 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01738, allocations: 4 kB / 0.5326 GB, free: 5.688 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.823e-05/0.01746, allocations: 168.5 kB / 0.5328 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.01751, allocations: 39.75 kB / 0.5328 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.01774, allocations: 146 kB / 0.533 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01774, allocations: 0.75 kB / 0.533 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01775, allocations: 0 / 0.533 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01775, allocations: 4.594 kB / 0.533 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.01797, allocations: 257.1 kB / 0.5332 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01797, allocations: 3.984 kB / 0.5332 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.01807, allocations: 37.44 kB / 0.5333 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01807, allocations: 0 / 0.5333 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01808, allocations: 11.98 kB / 0.5333 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01809, allocations: 0 / 0.5333 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01809, allocations: 6.547 kB / 0.5333 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01832, allocations: 275.6 kB / 0.5335 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.01838, allocations: 47.73 kB / 0.5336 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.01841, allocations: 8 kB / 0.5336 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01854, allocations: 19.92 kB / 0.5336 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.01861, allocations: 21.81 kB / 0.5336 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01863, allocations: 3.984 kB / 0.5336 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002023/0.01883, allocations: 283.1 kB / 0.5339 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01883, allocations: 0 / 0.5339 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003402/0.01917, allocations: 127.7 kB / 0.534 GB, free: 4.191 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 (11): * Single equations (assignments): 11 * 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.0002799/0.01945, allocations: 179.9 kB / 0.5342 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.01972, allocations: 209.8 kB / 0.5344 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01972, allocations: 1.844 kB / 0.5344 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.01979, allocations: 47.59 kB / 0.5345 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.02012, allocations: 79.47 kB / 0.5345 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.0211, allocations: 0.5459 MB / 0.5351 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.02119, allocations: 103.9 kB / 0.5352 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.02135, allocations: 47.66 kB / 0.5352 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.02144, allocations: 29.23 kB / 0.5352 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.02144, allocations: 0 / 0.5352 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of Templates: time 0.008587/0.03003, allocations: 5.12 MB / 0.5402 GB, free: 13.99 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.979969478910789]