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.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.001516/0.001516, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001694/0.001694, allocations: 219.3 kB / 23.01 MB, free: 4.605 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.328/1.328, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo): time 0.1999/0.1999, allocations: 25.01 MB / 311 MB, free: 12.79 MB / 254.1 MB " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 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.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(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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 68.75 kB / 437.6 MB, free: 24.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09944, allocations: 55.06 MB / 492.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002656/0.1021, allocations: 1.586 MB / 494.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1032, allocations: 0.6679 MB / 495 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.1032, allocations: 4 kB / 495 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1032, allocations: 3.938 kB / 495 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.1033, allocations: 3.938 kB / 495 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1036, allocations: 79.66 kB / 495 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.1037, allocations: 23.86 kB / 495.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.1037, allocations: 4 kB / 495.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.1037, allocations: 12 kB / 495.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.748e-05/0.1038, allocations: 7.938 kB / 495.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.1038, allocations: 0 / 495.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.104, allocations: 75.84 kB / 495.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.104, allocations: 3.938 kB / 495.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.104, allocations: 15.92 kB / 495.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1042, allocations: 67.8 kB / 495.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1042, allocations: 0 / 495.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1042, allocations: 0 / 495.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1042, allocations: 0 / 495.2 MB, free: 14.82 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.0003269/0.1045, allocations: 270.2 kB / 495.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1046, allocations: 11.98 kB / 495.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.1046, allocations: 8.891 kB / 495.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1047, allocations: 110.5 kB / 495.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1047, allocations: 4.375 kB / 495.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.1047, allocations: 384 / 495.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1049, allocations: 63.66 kB / 495.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1049, allocations: 0 / 495.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1049, allocations: 4 kB / 495.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1049, allocations: 0 / 495.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.1049, allocations: 8 kB / 495.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1053, allocations: 308.1 kB / 496 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.1054, allocations: 49.09 kB / 496.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.1054, allocations: 17.84 kB / 496.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/0.1058, allocations: 59.88 kB / 496.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1058, allocations: 38.56 kB / 496.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1058, allocations: 0 / 496.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001702/0.106, allocations: 45.64 kB / 496.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.106, allocations: 85.09 kB / 496.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.1061, allocations: 97.86 kB / 496.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1062, allocations: 29.7 kB / 496.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.1062, allocations: 92.02 kB / 496.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1062, allocations: 11.89 kB / 496.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.1062, allocations: 13.72 kB / 496.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1064, allocations: 319 kB / 496.9 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.1064, allocations: 4 kB / 496.9 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.1064, allocations: 25.69 kB / 496.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.1065, allocations: 21.66 kB / 496.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1065, allocations: 0 / 496.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.355e-05/0.1065, allocations: 49.59 kB / 497 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1065, allocations: 8.094 kB / 497 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1066, allocations: 4 kB / 497 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1066, allocations: 0 / 497 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.244e-05/0.1066, allocations: 3.984 kB / 497 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1066, allocations: 0 / 497 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.1066, allocations: 4 kB / 497 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1066, allocations: 0 / 497 MB, free: 12.87 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 7.76e-05/0.1067, allocations: 113.8 kB / 497.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1067, allocations: 4 kB / 497.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.1068, allocations: 52.94 kB / 497.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1068, allocations: 0 / 497.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1068, allocations: 4 kB / 497.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1068, allocations: 0 / 497.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.1071, allocations: 237.7 kB / 497.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.1071, allocations: 7.984 kB / 497.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.1071, allocations: 0 / 497.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1071, allocations: 256 / 497.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1071, allocations: 4 kB / 497.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1071, allocations: 8.062 kB / 497.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1071, allocations: 0 / 497.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.1073, allocations: 226.7 kB / 497.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.1073, allocations: 0 / 497.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1073, allocations: 4 kB / 497.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1074, allocations: 0 / 497.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1074, allocations: 7.969 kB / 497.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1074, allocations: 4 kB / 497.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.1074, allocations: 87.2 kB / 497.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1074, allocations: 3.938 kB / 497.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1077, allocations: 23.88 kB / 497.8 MB, free: 12.01 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.0001573/0.1079, allocations: 115.2 kB / 497.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.108, allocations: 41.64 kB / 497.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.108, allocations: 128 / 497.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.108, allocations: 37.7 kB / 497.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1083, allocations: 2.812 kB / 497.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.1086, allocations: 174 kB / 498.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1089, allocations: 0.6768 MB / 498.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.1089, allocations: 7.438 kB / 498.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1089, allocations: 4.125 kB / 498.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Templates: time 0.002184/0.1111, allocations: 0.7301 MB / 499.5 MB, free: 10.14 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: 6.650705748936161] Failed to read output from testmodel.py, exit status != 0: 0.11858610203489661 0.13386594500000001 0.026654414 Calling exit ...