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.001514/0.001514, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001743/0.001743, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.271/1.271, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.2072/0.2072, allocations: 25.03 MB / 310.4 MB, free: 12.58 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.002107/0.002107, allocations: 75.89 kB / 436.9 MB, free: 24.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07805/0.08015, allocations: 55.04 MB / 491.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002569/0.08272, allocations: 1.57 MB / 493.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.0837, allocations: 0.6056 MB / 494.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.08373, allocations: 0 / 494.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.08376, allocations: 0 / 494.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.0838, allocations: 11.92 kB / 494.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.08411, allocations: 79.67 kB / 494.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.08417, allocations: 31.78 kB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.08421, allocations: 4 kB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.08423, allocations: 4 kB / 494.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.08426, allocations: 11.92 kB / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.08426, allocations: 0 / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.08445, allocations: 55.94 kB / 494.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.08447, allocations: 8 kB / 494.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.08449, allocations: 11.94 kB / 494.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.08462, allocations: 59.8 kB / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.08463, allocations: 0 / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08463, allocations: 0 / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.08463, allocations: 0 / 494.4 MB, free: 14.73 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.0003066/0.08494, allocations: 278.1 kB / 494.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.08497, allocations: 11.98 kB / 494.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.085, allocations: 4.891 kB / 494.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.221e-05/0.08509, allocations: 114.5 kB / 494.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.0851, allocations: 384 / 494.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.08511, allocations: 8.375 kB / 494.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.08522, allocations: 59.72 kB / 494.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.08522, allocations: 3.938 kB / 494.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.08523, allocations: 0 / 494.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.08524, allocations: 3.984 kB / 494.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.08526, allocations: 7.938 kB / 494.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.08556, allocations: 280.8 kB / 495.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.08564, allocations: 53.03 kB / 495.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.08567, allocations: 13.84 kB / 495.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.08605, allocations: 59.95 kB / 495.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.08608, allocations: 38.55 kB / 495.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.08608, allocations: 0 / 495.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.08624, allocations: 45.64 kB / 495.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.08629, allocations: 81.11 kB / 495.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.08637, allocations: 101.8 kB / 495.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.08638, allocations: 33.58 kB / 495.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.08644, allocations: 92.34 kB / 495.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.08645, allocations: 11.89 kB / 495.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.08648, allocations: 17.7 kB / 495.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.0866, allocations: 310.8 kB / 496 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.08661, allocations: 8 kB / 496 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.08663, allocations: 13.72 kB / 496 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.08667, allocations: 25.66 kB / 496 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.08667, allocations: 0 / 496 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.492e-05/0.08674, allocations: 57.64 kB / 496.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.08675, allocations: 4 kB / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.08676, allocations: 0 / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.08678, allocations: 4 kB / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/0.0868, allocations: 0 / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.08681, allocations: 0 / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.08683, allocations: 4 kB / 496.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.08683, allocations: 0 / 496.1 MB, free: 12.8 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 6.891e-05/0.0869, allocations: 113.8 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.08694, allocations: 4 kB / 496.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.724e-05/0.08702, allocations: 48.98 kB / 496.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.08703, allocations: 3.984 kB / 496.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.08703, allocations: 4 kB / 496.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.08704, allocations: 3.938 kB / 496.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.08727, allocations: 218.2 kB / 496.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.08728, allocations: 4 kB / 496.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.08729, allocations: 0 / 496.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.08729, allocations: 0 / 496.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.0873, allocations: 4 kB / 496.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0873, allocations: 256 / 496.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.0873, allocations: 4 kB / 496.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.08744, allocations: 226.8 kB / 496.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.08745, allocations: 4 kB / 496.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.08746, allocations: 0 / 496.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.08753, allocations: 0 / 496.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.08755, allocations: 7.922 kB / 496.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.08755, allocations: 4 kB / 496.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.08759, allocations: 83.28 kB / 496.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08759, allocations: 0 / 496.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.08788, allocations: 27.81 kB / 496.8 MB, free: 11.98 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.000151/0.08803, allocations: 123.2 kB / 497 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.881e-05/0.08812, allocations: 37.7 kB / 497 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.08812, allocations: 0 / 497 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.08815, allocations: 37.58 kB / 497 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.08841, allocations: 7.984 kB / 497 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.08866, allocations: 136.4 kB / 497.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.08872, allocations: 63.59 kB / 497.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.702e-06/0.08873, allocations: 4 kB / 497.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.08874, allocations: 7.438 kB / 497.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08874, allocations: 0 / 497.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Templates: time 0.002534/0.09127, allocations: 0.5408 MB / 497.8 MB, free: 10.98 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.067017925903201] Failed to read output from testmodel.py, exit status != 0: 0.09798585064709187 0.11195181100000001 0.024528737000000002 Calling exit ...