Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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: 76.5 kB / 19.93 MB, free: 4.629 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.0008066/0.0008066, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8675/0.8675, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.7016/0.7016, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.672e-05, allocations: 5.453 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002309/0.002345, allocations: 1.516 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.003025, allocations: 470.8 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.00309, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.003121, allocations: 3.938 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.003174, allocations: 11.86 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.003427, allocations: 31.95 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.003548, allocations: 63.66 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003653, allocations: 19.97 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.003789, allocations: 39.84 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.003849, allocations: 15.97 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.003865, allocations: 4 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.003905, allocations: 8 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.003919, allocations: 11.92 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.003943, allocations: 15.94 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.004058, allocations: 51.8 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.004061, allocations: 4 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.004062, allocations: 0 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.004066, allocations: 0 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003888/0.004455, allocations: 290.1 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.004502, allocations: 13.47 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.00464, allocations: 28.81 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.004801, allocations: 121.7 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.00481, allocations: 384 / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.00482, allocations: 8.375 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.004941, allocations: 50.23 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.004948, allocations: 4.188 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.004958, allocations: 4.359 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.004964, allocations: 7.938 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.005035, allocations: 31.98 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.005299, allocations: 220.5 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.077e-05/0.00538, allocations: 42.56 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.005418, allocations: 20.94 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.005435, allocations: 8 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.005458, allocations: 38.5 kB / 0.6223 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.005459, allocations: 0 / 0.6223 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002095/0.005669, allocations: 89.53 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.0057, allocations: 55.41 kB / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.005771, allocations: 121.8 kB / 0.6226 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005781, allocations: 25.7 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.005822, allocations: 92.12 kB / 0.6227 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.00584, allocations: 11.89 kB / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.005867, allocations: 17.72 kB / 0.6227 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.005945, allocations: 314.8 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.005984, allocations: 19.98 kB / 0.6231 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.006013, allocations: 15.98 kB / 0.6231 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.006084, allocations: 40.83 kB / 0.6231 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006086, allocations: 0 / 0.6231 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.751e-05/0.006183, allocations: 85.5 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006194, allocations: 4 kB / 0.6232 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.0062, allocations: 0 / 0.6232 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.006211, allocations: 0 / 0.6232 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.006275, allocations: 11.98 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.006281, allocations: 0 / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.006307, allocations: 7.984 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006314, allocations: 0 / 0.6232 GB, free: 8.996 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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 6.462e-05/0.006379, allocations: 118.8 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.006395, allocations: 15.83 kB / 0.6233 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.006416, allocations: 8.328 kB / 0.6233 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006418, allocations: 0 / 0.6233 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.006423, allocations: 4 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.006428, allocations: 11.97 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.339e-05/0.006522, allocations: 113.3 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006523, allocations: 0 / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.006551, allocations: 11.98 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006552, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.006559, allocations: 3.938 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.00656, allocations: 0 / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006561, allocations: 4 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.006686, allocations: 171.4 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.006694, allocations: 8 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006706, allocations: 3.938 kB / 0.6237 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.006742, allocations: 4 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.006774, allocations: 3.984 kB / 0.6237 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.006776, allocations: 0 / 0.6237 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.006816, allocations: 102.5 kB / 0.6238 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006816, allocations: 0 / 0.6238 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001419/0.006958, allocations: 19.95 kB / 0.6238 GB, free: 8.344 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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 7.027e-05/0.007029, allocations: 95.25 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.007139, allocations: 35.91 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.00714, allocations: 0 / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.007176, allocations: 27.97 kB / 0.6239 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.007329, allocations: 4 kB / 0.6239 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.007622, allocations: 190.4 kB / 0.6241 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.007665, allocations: 67.34 kB / 0.6242 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.007697, allocations: 16.48 kB / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.007698, allocations: 0 / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of Templates: time 0.001467/0.009165, allocations: 0.7794 MB / 0.625 GB, free: 7.074 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.273142909631133] Failed to read output from testmodel.py, exit status != 0: 0.015961206518113613 0.022784725000000002 0.017078427 Calling exit ...