Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.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.001253/0.001253, allocations: 110 kB / 18.93 MB, free: 2.945 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.001514/0.001514, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 207.6 MB / 233 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.2219/0.2219, allocations: 25.06 MB / 310.3 MB, free: 12.74 MB / 254.1 MB
"
[Timeout remaining time 180]
Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun")
translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 68.91 kB / 436.9 MB, free: 24.52 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.1012, allocations: 55.05 MB / 491.9 MB, free: 1.383 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002736/0.1039, allocations: 1.586 MB / 493.5 MB, free: 15.78 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001147/0.1051, allocations: 0.6718 MB / 494.2 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.1051, allocations: 3.938 kB / 494.2 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.1051, allocations: 3.938 kB / 494.2 MB, free: 15.09 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.1052, allocations: 7.922 kB / 494.2 MB, free: 15.09 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1055, allocations: 75.67 kB / 494.3 MB, free: 15.01 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.1056, allocations: 19.92 kB / 494.3 MB, free: 14.99 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.1056, allocations: 8 kB / 494.3 MB, free: 14.98 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.1056, allocations: 11.94 kB / 494.3 MB, free: 14.97 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.695e-05/0.1057, allocations: 7.984 kB / 494.3 MB, free: 14.96 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.1057, allocations: 0 / 494.3 MB, free: 14.96 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.1059, allocations: 75.84 kB / 494.4 MB, free: 14.89 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1059, allocations: 3.938 kB / 494.4 MB, free: 14.89 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.106, allocations: 11.94 kB / 494.4 MB, free: 14.88 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1061, allocations: 63.8 kB / 494.5 MB, free: 14.81 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1061, allocations: 0 / 494.5 MB, free: 14.81 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.193e-06/0.1061, allocations: 0 / 494.5 MB, free: 14.81 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 8.967e-06/0.1061, allocations: 4 kB / 494.5 MB, free: 14.81 MB / 366.1 MB
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.0003417/0.1065, allocations: 270.2 kB / 494.8 MB, free: 14.52 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1065, allocations: 11.98 kB / 494.8 MB, free: 14.5 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1065, allocations: 8.891 kB / 494.8 MB, free: 14.5 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1066, allocations: 114.4 kB / 494.9 MB, free: 14.36 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1067, allocations: 4.375 kB / 494.9 MB, free: 14.36 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1067, allocations: 384 / 494.9 MB, free: 14.36 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1068, allocations: 55.72 kB / 495 MB, free: 14.29 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1068, allocations: 7.938 kB / 495 MB, free: 14.28 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1068, allocations: 0 / 495 MB, free: 14.28 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1068, allocations: 0 / 495 MB, free: 14.28 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.1068, allocations: 7.938 kB / 495 MB, free: 14.27 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.1072, allocations: 312.1 kB / 495.3 MB, free: 13.92 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.1073, allocations: 49.08 kB / 495.3 MB, free: 13.86 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.1073, allocations: 17.84 kB / 495.3 MB, free: 13.83 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.1077, allocations: 51.95 kB / 495.4 MB, free: 13.78 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.1078, allocations: 34.56 kB / 495.4 MB, free: 13.74 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1078, allocations: 4 kB / 495.4 MB, free: 13.73 MB / 366.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0001924/0.108, allocations: 49.62 kB / 495.5 MB, free: 13.68 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.108, allocations: 77.11 kB / 495.5 MB, free: 13.59 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1081, allocations: 109.8 kB / 495.7 MB, free: 13.47 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1081, allocations: 25.7 kB / 495.7 MB, free: 13.44 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.1082, allocations: 88.09 kB / 495.8 MB, free: 13.35 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.1082, allocations: 11.89 kB / 495.8 MB, free: 13.34 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1082, allocations: 9.969 kB / 495.8 MB, free: 13.32 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001549/0.1084, allocations: 330.8 kB / 496.1 MB, free: 12.99 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.1084, allocations: 3.938 kB / 496.1 MB, free: 12.98 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.1084, allocations: 13.72 kB / 496.1 MB, free: 12.96 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.1084, allocations: 21.72 kB / 496.2 MB, free: 12.94 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1084, allocations: 0 / 496.2 MB, free: 12.94 MB / 366.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.92e-05/0.1085, allocations: 57.61 kB / 496.2 MB, free: 12.88 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1085, allocations: 4 kB / 496.2 MB, free: 12.87 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1085, allocations: 4.25 kB / 496.2 MB, free: 12.87 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1086, allocations: 0 / 496.2 MB, free: 12.87 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.1086, allocations: 4 kB / 496.2 MB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1086, allocations: 4 kB / 496.2 MB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.1086, allocations: 0 / 496.2 MB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1086, allocations: 0 / 496.2 MB, free: 12.86 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (2):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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 9.642e-05/0.1087, allocations: 113.8 kB / 496.3 MB, free: 12.74 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1088, allocations: 8.062 kB / 496.3 MB, free: 12.73 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.392e-05/0.1089, allocations: 44.94 kB / 496.4 MB, free: 12.68 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1089, allocations: 0 / 496.4 MB, free: 12.68 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1089, allocations: 4.047 kB / 496.4 MB, free: 12.67 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1089, allocations: 3.984 kB / 496.4 MB, free: 12.67 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.1091, allocations: 249.6 kB / 496.6 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1092, allocations: 0 / 496.6 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.1092, allocations: 0 / 496.6 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1092, allocations: 8 kB / 496.6 MB, free: 12.37 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1092, allocations: 4 kB / 496.6 MB, free: 12.36 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1092, allocations: 0 / 496.6 MB, free: 12.36 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1092, allocations: 3.938 kB / 496.7 MB, free: 12.36 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1093, allocations: 218.7 kB / 496.9 MB, free: 12.13 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.1093, allocations: 4 kB / 496.9 MB, free: 12.12 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1093, allocations: 4 kB / 496.9 MB, free: 12.12 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.1094, allocations: 4.031 kB / 496.9 MB, free: 12.12 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1094, allocations: 11.86 kB / 496.9 MB, free: 12.11 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1094, allocations: 4 kB / 496.9 MB, free: 12.1 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 5.217e-05/0.1095, allocations: 79.28 kB / 497 MB, free: 12.02 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1095, allocations: 0 / 497 MB, free: 12.02 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000293/0.1098, allocations: 19.88 kB / 497 MB, free: 12 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (2):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.000194/0.11, allocations: 127.1 kB / 497.1 MB, free: 11.87 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.000129/0.1101, allocations: 37.7 kB / 497.2 MB, free: 11.82 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1101, allocations: 0 / 497.2 MB, free: 11.82 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.1102, allocations: 41.62 kB / 497.2 MB, free: 11.78 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1104, allocations: 5.094 kB / 497.2 MB, free: 11.77 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.1107, allocations: 140.3 kB / 497.3 MB, free: 11.61 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1111, allocations: 0.677 MB / 498 MB, free: 10.91 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 8.616e-06/0.1111, allocations: 4 kB / 498 MB, free: 10.9 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.1111, allocations: 11.44 kB / 498 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1111, allocations: 0 / 498 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of Templates: time 0.003099/0.1142, allocations: 0.5428 MB / 498.6 MB, free: 10.36 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile [Timeout 660]
(rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe >> ../files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.sim & ./SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun  -abortSlowSimulation -alarm=480 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.4436785308644176]
Failed to read output from testmodel.py, exit status != 0:
0.12181881070137024 0.13789273100000002 0.028735566
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f87c43097b0>