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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 191.3 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.175/1.175, allocations: 177.9 MB / 484.2 MB, free: 5.402 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002233/0.002233, allocations: 72.08 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.748, allocations: 95.17 MB / 0.7669 GB, free: 7.941 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002408/0.7504, allocations: 1.519 MB / 0.7684 GB, free: 7.25 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0006957/0.7511, allocations: 422.5 kB / 0.7688 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.7511, allocations: 1.062 kB / 0.7688 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.7512, allocations: 4.969 kB / 0.7688 GB, free: 6.961 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.7512, allocations: 14.34 kB / 0.7688 GB, free: 6.949 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.7514, allocations: 20.31 kB / 0.7688 GB, free: 6.938 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.7515, allocations: 50.58 kB / 0.7689 GB, free: 6.914 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.7516, allocations: 8.906 kB / 0.7689 GB, free: 6.91 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.7517, allocations: 38.78 kB / 0.7689 GB, free: 6.887 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.7517, allocations: 20.72 kB / 0.769 GB, free: 6.879 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.7518, allocations: 2.469 kB / 0.769 GB, free: 6.879 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.7518, allocations: 7.688 kB / 0.769 GB, free: 6.875 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.7518, allocations: 7.078 kB / 0.769 GB, free: 6.871 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.7518, allocations: 23.59 kB / 0.769 GB, free: 6.855 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.7519, allocations: 52.72 kB / 0.769 GB, free: 6.836 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7519, allocations: 1.125 kB / 0.7691 GB, free: 6.836 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.312e-06/0.7519, allocations: 0 / 0.7691 GB, free: 6.836 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.78e-06/0.752, allocations: 0 / 0.7691 GB, free: 6.836 MB / 0.5762 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.0004274/0.7524, allocations: 285 kB / 0.7693 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.7524, allocations: 9.438 kB / 0.7693 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.7524, allocations: 6.859 kB / 0.7693 GB, free: 6.559 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.7525, allocations: 118.1 kB / 0.7695 GB, free: 6.426 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.7525, allocations: 10.03 kB / 0.7695 GB, free: 6.418 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.7526, allocations: 5.406 kB / 0.7695 GB, free: 6.414 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.7527, allocations: 55.77 kB / 0.7695 GB, free: 6.375 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7527, allocations: 4 kB / 0.7695 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.7527, allocations: 0 / 0.7695 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7527, allocations: 1.5 kB / 0.7695 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.7529, allocations: 35.67 kB / 0.7696 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.7532, allocations: 242.7 kB / 0.7698 GB, free: 6.113 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.7533, allocations: 45.8 kB / 0.7698 GB, free: 6.078 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.7534, allocations: 23.77 kB / 0.7699 GB, free: 6.066 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.7534, allocations: 0 / 0.7699 GB, free: 6.066 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.7534, allocations: 36.81 kB / 0.7699 GB, free: 6.023 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.7535, allocations: 0 / 0.7699 GB, free: 6.023 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0003118/0.7538, allocations: 81.19 kB / 0.77 GB, free: 5.984 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.7538, allocations: 58.91 kB / 0.77 GB, free: 5.918 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.7539, allocations: 120.4 kB / 0.7701 GB, free: 5.809 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.7539, allocations: 26.86 kB / 0.7702 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.7539, allocations: 87.64 kB / 0.7702 GB, free: 5.691 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.7539, allocations: 13.95 kB / 0.7703 GB, free: 5.68 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.754, allocations: 13.2 kB / 0.7703 GB, free: 5.664 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.693e-05/0.754, allocations: 327.1 kB / 0.7706 GB, free: 5.34 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.7541, allocations: 17.77 kB / 0.7706 GB, free: 5.336 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.7541, allocations: 25.75 kB / 0.7706 GB, free: 5.324 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.7543, allocations: 40.52 kB / 0.7707 GB, free: 5.309 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7543, allocations: 0 / 0.7707 GB, free: 5.309 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001964/0.7545, allocations: 73.44 kB / 0.7707 GB, free: 5.266 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7545, allocations: 7.781 kB / 0.7707 GB, free: 5.266 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7545, allocations: 1.594 kB / 0.7707 GB, free: 5.266 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7545, allocations: 4 kB / 0.7707 GB, free: 5.262 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.7546, allocations: 10.06 kB / 0.7708 GB, free: 5.262 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7546, allocations: 3.938 kB / 0.7708 GB, free: 5.258 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.7547, allocations: 9.828 kB / 0.7708 GB, free: 5.254 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.7547, allocations: 3.938 kB / 0.7708 GB, free: 5.25 MB / 0.5762 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 5.258e-05/0.7547, allocations: 114.2 kB / 0.7709 GB, free: 5.133 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.7548, allocations: 2.188 kB / 0.7709 GB, free: 5.133 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.7548, allocations: 10.42 kB / 0.7709 GB, free: 5.117 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7548, allocations: 4.625 kB / 0.7709 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7548, allocations: 0 / 0.7709 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.7548, allocations: 4.875 kB / 0.7709 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.7549, allocations: 149.2 kB / 0.771 GB, free: 4.941 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7549, allocations: 0 / 0.771 GB, free: 4.941 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.755, allocations: 8.922 kB / 0.7711 GB, free: 4.941 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.755, allocations: 4.625 kB / 0.7711 GB, free: 4.938 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.755, allocations: 3.594 kB / 0.7711 GB, free: 4.938 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.755, allocations: 0.5938 kB / 0.7711 GB, free: 4.938 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.755, allocations: 0 / 0.7711 GB, free: 4.938 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.7552, allocations: 175.6 kB / 0.7712 GB, free: 4.785 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.7552, allocations: 11.36 kB / 0.7712 GB, free: 4.777 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.7552, allocations: 0 / 0.7712 GB, free: 4.777 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.7553, allocations: 7.391 kB / 0.7712 GB, free: 4.777 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.7554, allocations: 0.5625 kB / 0.7713 GB, free: 4.777 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7554, allocations: 2.359 kB / 0.7713 GB, free: 4.777 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.797e-05/0.7554, allocations: 103.3 kB / 0.7714 GB, free: 4.688 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.7554, allocations: 0 / 0.7714 GB, free: 4.688 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002163/0.7556, allocations: 7.812 kB / 0.7714 GB, free: 4.688 MB / 0.5762 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 8.552e-05/0.7557, allocations: 100.6 kB / 0.7715 GB, free: 4.598 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.000196/0.7559, allocations: 39.59 kB / 0.7715 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7559, allocations: 0 / 0.7715 GB, free: 4.59 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.756, allocations: 24.89 kB / 0.7715 GB, free: 4.582 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.7562, allocations: 7 kB / 0.7715 GB, free: 4.578 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.7566, allocations: 162.1 kB / 0.7717 GB, free: 4.445 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.7567, allocations: 0.6879 MB / 0.7723 GB, free: 3.746 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.525e-05/0.7568, allocations: 5.266 kB / 0.7724 GB, free: 3.742 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.7568, allocations: 14.31 kB / 0.7724 GB, free: 3.73 MB / 0.5762 GB
Notification: Performance of SimCode: time 4.91e-07/0.7568, allocations: 4 kB / 0.7724 GB, free: 3.727 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002808/0.7596, allocations: 470.1 kB / 0.7728 GB, free: 3.656 MB / 0.5762 GB
"
[Timeout remaining time 659]
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: 6.850762967020273]
Failed to read output from testmodel.py, exit status != 0:
0.7686179568991065 0.781721274 0.026619017000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9e95b4d7b0>