Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.00146/0.00146, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001623/0.001623, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.579/1.579, allocations: 225.6 MB / 251 MB, free: 13.21 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.188/1.188, allocations: 177.9 MB / 484.2 MB, free: 5.387 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.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain")
translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 64.17 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6537, allocations: 95.17 MB / 0.7669 GB, free: 7.594 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003274/0.657, allocations: 2.066 MB / 0.7689 GB, free: 6.754 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0046/0.6616, allocations: 4.132 MB / 0.773 GB, free: 3.82 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.6617, allocations: 2.062 kB / 0.773 GB, free: 3.82 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.6626, allocations: 203 kB / 0.7732 GB, free: 3.73 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.6627, allocations: 68.94 kB / 0.7732 GB, free: 3.68 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.6636, allocations: 269 kB / 0.7735 GB, free: 3.578 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0006026/0.6642, allocations: 383.3 kB / 0.7739 GB, free: 3.422 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.6643, allocations: 38.53 kB / 0.7739 GB, free: 3.398 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.6644, allocations: 115.2 kB / 0.774 GB, free: 3.352 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.6646, allocations: 131.5 kB / 0.7741 GB, free: 3.289 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.6646, allocations: 20.67 kB / 0.7741 GB, free: 3.285 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.6652, allocations: 332.2 kB / 0.7745 GB, free: 3.195 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.6653, allocations: 102.2 kB / 0.7746 GB, free: 3.156 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.6655, allocations: 146.3 kB / 0.7747 GB, free: 3.066 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000771/0.6662, allocations: 0.5162 MB / 0.7752 GB, free: 2.883 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6662, allocations: 1.156 kB / 0.7752 GB, free: 2.883 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.6662, allocations: 0 / 0.7752 GB, free: 2.883 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 9.167e-06/0.6663, allocations: 4.453 kB / 0.7752 GB, free: 2.879 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: 19
 * Number of variables: 19
Notification: Performance of Generate backend data structure: time 0.001414/0.6677, allocations: 0.6906 MB / 0.7759 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6677, allocations: 8.594 kB / 0.7759 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.6678, allocations: 36.72 kB / 0.7759 GB, free: 2.344 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.6683, allocations: 281.8 kB / 0.7762 GB, free: 2.133 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6683, allocations: 12.09 kB / 0.7762 GB, free: 2.125 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.6684, allocations: 8.969 kB / 0.7762 GB, free: 2.121 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.6689, allocations: 209.9 kB / 0.7764 GB, free: 2.043 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.669, allocations: 0 / 0.7764 GB, free: 2.043 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.669, allocations: 2.031 kB / 0.7764 GB, free: 2.043 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.669, allocations: 1.969 kB / 0.7764 GB, free: 2.043 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.6698, allocations: 241.6 kB / 0.7767 GB, free: 2 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.6708, allocations: 0.5611 MB / 0.7772 GB, free: 1.652 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.6713, allocations: 166.7 kB / 0.7774 GB, free: 1.602 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.6717, allocations: 127.5 kB / 0.7775 GB, free: 1.57 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.251e-05/0.6718, allocations: 24.08 kB / 0.7775 GB, free: 1.562 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.6718, allocations: 32.33 kB / 0.7775 GB, free: 1.523 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.6718, allocations: 1.125 kB / 0.7775 GB, free: 1.523 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11): time 0.001348/0.6731, allocations: 451 kB / 0.778 GB, free: 1.391 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.6732, allocations: 53.91 kB / 0.778 GB, free: 1.328 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.6736, allocations: 406.7 kB / 0.7784 GB, free: 1.137 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.6736, allocations: 29.14 kB / 0.7784 GB, free: 1.105 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.6737, allocations: 187.4 kB / 0.7786 GB, free: 0.9453 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.6738, allocations: 34.36 kB / 0.7786 GB, free: 0.918 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.6739, allocations: 44.27 kB / 0.7787 GB, free: 0.8906 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 9.921e-05/0.674, allocations: 342.3 kB / 0.779 GB, free: 0.5664 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.6744, allocations: 168.9 kB / 0.7792 GB, free: 0.5312 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.6748, allocations: 168.6 kB / 0.7793 GB, free: 0.4961 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.6757, allocations: 352.2 kB / 0.7797 GB, free: 396 kB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6757, allocations: 0 / 0.7797 GB, free: 396 kB / 0.5762 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009412/0.6766, allocations: 479 kB / 0.7801 GB, free: 220 kB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.6767, allocations: 45 kB / 0.7802 GB, free: 184 kB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6767, allocations: 0 / 0.7802 GB, free: 184 kB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.6767, allocations: 5.891 kB / 0.7802 GB, free: 180 kB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.677, allocations: 43.84 kB / 0.7802 GB, free: 180 kB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.677, allocations: 0 / 0.7802 GB, free: 180 kB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.6773, allocations: 39.11 kB / 0.7803 GB, free: 168 kB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.6773, allocations: 11.44 kB / 0.7803 GB, free: 164 kB / 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 (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 0.0001312/0.6774, allocations: 152.8 kB / 0.7804 GB, free: 32 kB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.6775, allocations: 34.7 kB / 0.7804 GB, free: 12 kB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.6785, allocations: 340.8 kB / 0.7808 GB, free: 15.9 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.6785, allocations: 7.094 kB / 0.7808 GB, free: 15.9 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6785, allocations: 4.781 kB / 0.7808 GB, free: 15.89 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6785, allocations: 0 / 0.7808 GB, free: 15.89 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.679, allocations: 313.9 kB / 0.7811 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.679, allocations: 4 kB / 0.7811 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.6793, allocations: 48.08 kB / 0.7811 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6793, allocations: 2.531 kB / 0.7811 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.6794, allocations: 2.016 kB / 0.7811 GB, free: 15.68 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6794, allocations: 13.75 kB / 0.7811 GB, free: 15.66 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6794, allocations: 0.7969 kB / 0.7811 GB, free: 15.66 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009177/0.6803, allocations: 421.4 kB / 0.7816 GB, free: 15.46 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.6804, allocations: 53.81 kB / 0.7816 GB, free: 15.43 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.6805, allocations: 7.422 kB / 0.7816 GB, free: 15.42 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.6807, allocations: 37.27 kB / 0.7816 GB, free: 15.41 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.6808, allocations: 13.52 kB / 0.7817 GB, free: 15.41 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.6808, allocations: 4.812 kB / 0.7817 GB, free: 15.41 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0003003/0.6811, allocations: 286.7 kB / 0.7819 GB, free: 15.27 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 8e-08/0.6811, allocations: 0 / 0.7819 GB, free: 15.27 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.000602/0.6817, allocations: 117 kB / 0.782 GB, free: 15.26 MB / 0.5919 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.0003644/0.6821, allocations: 176.3 kB / 0.7822 GB, free: 15.14 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.001098/0.6832, allocations: 463.5 kB / 0.7827 GB, free: 15 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6832, allocations: 0 / 0.7827 GB, free: 15 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.000406/0.6836, allocations: 141.3 kB / 0.7828 GB, free: 14.96 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.6841, allocations: 65.34 kB / 0.7829 GB, free: 14.93 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.6852, allocations: 0.6352 MB / 0.7835 GB, free: 14.58 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.6857, allocations: 0.7864 MB / 0.7842 GB, free: 13.88 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0001749/0.6859, allocations: 48.06 kB / 0.7843 GB, free: 13.86 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.686, allocations: 27.22 kB / 0.7843 GB, free: 13.86 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.21e-07/0.686, allocations: 2.469 kB / 0.7843 GB, free: 13.86 MB / 0.5919 GB
Notification: Performance of Templates: time 0.01136/0.6973, allocations: 4.959 MB / 0.7892 GB, free: 13.5 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.85492580011487]
Failed to read output from testmodel.py, exit status != 0:
0.7062364332377911 0.721066713 0.051581588000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f631d2a17b0>