Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009683/0.0009683, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009566/0.0009566, allocations: 173 kB / 23.03 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.9695/0.9695, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.728/0.728, allocations: 154.9 MB / 414.8 MB, free: 424 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.973e-05, allocations: 8.953 kB / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003425/0.003455, allocations: 1.926 MB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00534/0.008795, allocations: 3.73 MB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.008948, allocations: 7.938 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009939/0.009942, allocations: 187.4 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.01022, allocations: 79.41 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.01037, allocations: 55.86 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.01094, allocations: 286 kB / 0.5268 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.01109, allocations: 21.8 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.01133, allocations: 95.78 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.01148, allocations: 69.3 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.01152, allocations: 8 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.01165, allocations: 27.92 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.01173, allocations: 64.25 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.01181, allocations: 55.86 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.01212, allocations: 168.3 kB / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01212, allocations: 0 / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01213, allocations: 0.7812 kB / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.01213, allocations: 3.938 kB / 0.5273 GB, free: 11.09 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.000847/0.01298, allocations: 0.5432 MB / 0.5278 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.01303, allocations: 8.031 kB / 0.5278 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.0138, allocations: 107.4 kB / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.01412, allocations: 200.7 kB / 0.5281 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.01414, allocations: 10.75 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.01416, allocations: 4.375 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.0145, allocations: 110.8 kB / 0.5282 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01452, allocations: 4.125 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.01454, allocations: 9.625 kB / 0.5283 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.01459, allocations: 11.98 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.01475, allocations: 39.97 kB / 0.5283 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.01551, allocations: 408.6 kB / 0.5287 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.01574, allocations: 108 kB / 0.5288 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01586, allocations: 50.03 kB / 0.5288 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.01588, allocations: 7.984 kB / 0.5288 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.01591, allocations: 38.8 kB / 0.5289 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.01591, allocations: 0 / 0.5289 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0004556/0.01637, allocations: 145.8 kB / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.01641, allocations: 52.69 kB / 0.5291 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.01667, allocations: 318.3 kB / 0.5294 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.0167, allocations: 25.7 kB / 0.5294 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01681, allocations: 195.4 kB / 0.5296 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.01687, allocations: 43.66 kB / 0.5296 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.01694, allocations: 39.97 kB / 0.5297 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.01711, allocations: 0.5079 MB / 0.5302 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.0172, allocations: 25.48 kB / 0.5302 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.01728, allocations: 23.98 kB / 0.5302 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01746, allocations: 62.55 kB / 0.5303 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01746, allocations: 0.9688 kB / 0.5303 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002866/0.01775, allocations: 133.4 kB / 0.5304 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.01777, allocations: 6.781 kB / 0.5304 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01778, allocations: 0.5938 kB / 0.5304 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01779, allocations: 7.938 kB / 0.5304 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.01803, allocations: 28.62 kB / 0.5304 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01804, allocations: 0.5625 kB / 0.5304 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01817, allocations: 29.16 kB / 0.5305 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.01819, allocations: 4 kB / 0.5305 GB, free: 7.652 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.0001132/0.01831, allocations: 158 kB / 0.5306 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.01837, allocations: 31.78 kB / 0.5307 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.01842, allocations: 29.81 kB / 0.5307 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01843, allocations: 0 / 0.5307 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.01843, allocations: 10.42 kB / 0.5307 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01844, allocations: 0 / 0.5307 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.0187, allocations: 200.5 kB / 0.5309 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0187, allocations: 3.938 kB / 0.5309 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.01889, allocations: 35.91 kB / 0.5309 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.01889, allocations: 0 / 0.5309 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.01892, allocations: 10.2 kB / 0.5309 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01892, allocations: 4 kB / 0.5309 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01892, allocations: 0 / 0.5309 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.01929, allocations: 275.7 kB / 0.5312 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.01937, allocations: 39.72 kB / 0.5312 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.01941, allocations: 11.94 kB / 0.5312 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.01957, allocations: 9.078 kB / 0.5313 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.01963, allocations: 11.98 kB / 0.5313 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.01965, allocations: 8.953 kB / 0.5313 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001585/0.01981, allocations: 207 kB / 0.5315 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01981, allocations: 0 / 0.5315 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002959/0.02011, allocations: 41.22 kB / 0.5315 GB, free: 6.531 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.0001291/0.02024, allocations: 96.2 kB / 0.5316 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.0205, allocations: 85.83 kB / 0.5317 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0205, allocations: 1.281 kB / 0.5317 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.02061, allocations: 51.59 kB / 0.5317 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.02106, allocations: 68.72 kB / 0.5318 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.02215, allocations: 420.7 kB / 0.5322 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.613e-05/0.02222, allocations: 83.67 kB / 0.5323 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.02243, allocations: 54.12 kB / 0.5323 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.02252, allocations: 24.5 kB / 0.5324 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/0.02252, allocations: 2.219 kB / 0.5324 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of Templates: time 0.006648/0.02917, allocations: 2.909 MB / 0.5352 GB, free: 2.895 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.640760893933475]