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.001576/0.001576, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001777/0.001777, allocations: 221.8 kB / 23 MB, free: 4.91 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.381/1.381, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2011/0.2011, allocations: 25 MB / 311.1 MB, free: 12.61 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.002246/0.002246, allocations: 76.72 kB / 437.6 MB, free: 24.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.09093, allocations: 55.04 MB / 492.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002775/0.09371, allocations: 1.582 MB / 494.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.09481, allocations: 0.6017 MB / 494.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.09485, allocations: 0 / 494.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.09489, allocations: 3.984 kB / 494.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.09493, allocations: 3.938 kB / 494.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.0953, allocations: 83.66 kB / 495 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.09536, allocations: 19.88 kB / 495 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.09541, allocations: 7.984 kB / 495 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.09543, allocations: 15.92 kB / 495 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.746e-05/0.09546, allocations: 7.938 kB / 495 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.09547, allocations: 0 / 495 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.09569, allocations: 55.94 kB / 495.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.0957, allocations: 0 / 495.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.09573, allocations: 19.92 kB / 495.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.09588, allocations: 55.81 kB / 495.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09588, allocations: 0 / 495.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09588, allocations: 0 / 495.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09589, allocations: 0 / 495.1 MB, free: 14.71 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.0003226/0.09621, allocations: 278.1 kB / 495.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.09625, allocations: 11.98 kB / 495.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.09628, allocations: 4.891 kB / 495.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.09639, allocations: 122.4 kB / 495.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.0964, allocations: 384 / 495.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.09641, allocations: 8.359 kB / 495.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.09652, allocations: 47.73 kB / 495.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.09654, allocations: 4 kB / 495.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.09655, allocations: 0 / 495.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09656, allocations: 0 / 495.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.09658, allocations: 11.92 kB / 495.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.09692, allocations: 280.8 kB / 495.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.097, allocations: 53.09 kB / 495.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.09703, allocations: 17.77 kB / 496 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/0.09743, allocations: 59.89 kB / 496 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.09746, allocations: 34.56 kB / 496 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.09747, allocations: 0 / 496 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.09764, allocations: 53.62 kB / 496.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.09769, allocations: 77.11 kB / 496.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.09778, allocations: 101.9 kB / 496.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.0978, allocations: 29.64 kB / 496.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.09785, allocations: 92.08 kB / 496.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.09787, allocations: 11.89 kB / 496.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.0979, allocations: 13.72 kB / 496.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.09803, allocations: 310.8 kB / 496.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.09805, allocations: 11.98 kB / 496.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.09806, allocations: 13.97 kB / 496.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.0981, allocations: 29.69 kB / 496.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.09811, allocations: 0 / 496.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.534e-05/0.09818, allocations: 53.58 kB / 496.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.09819, allocations: 4 kB / 496.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.09821, allocations: 256 / 496.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.09822, allocations: 4.031 kB / 496.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.413e-05/0.09825, allocations: 8 kB / 496.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.09826, allocations: 0 / 496.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.09827, allocations: 4.062 kB / 496.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.09828, allocations: 4 kB / 496.9 MB, free: 12.78 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.603e-05/0.09836, allocations: 109.8 kB / 497 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.09839, allocations: 4 kB / 497 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.09849, allocations: 48.94 kB / 497 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09849, allocations: 0 / 497 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.0985, allocations: 0 / 497 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.0985, allocations: 4 kB / 497 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.09874, allocations: 218.2 kB / 497.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.09874, allocations: 0 / 497.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.09876, allocations: 12 kB / 497.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.09876, allocations: 0 / 497.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.09877, allocations: 3.984 kB / 497.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.09877, allocations: 4 kB / 497.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.09877, allocations: 3.938 kB / 497.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.09892, allocations: 218.7 kB / 497.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.09892, allocations: 3.984 kB / 497.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.09893, allocations: 4 kB / 497.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.099, allocations: 0 / 497.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.09902, allocations: 3.938 kB / 497.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.09902, allocations: 8.031 kB / 497.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.09907, allocations: 83.28 kB / 497.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09907, allocations: 0 / 497.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.09935, allocations: 27.8 kB / 497.6 MB, free: 11.96 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.0001726/0.09952, allocations: 119.2 kB / 497.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.09963, allocations: 41.69 kB / 497.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.09963, allocations: 0 / 497.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.09966, allocations: 33.64 kB / 497.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.09995, allocations: 8.25 kB / 497.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.1003, allocations: 166.1 kB / 498 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.1004, allocations: 63.34 kB / 498 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.1004, allocations: 7.438 kB / 498 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1004, allocations: 0 / 498 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.002369/0.1028, allocations: 0.7417 MB / 498.8 MB, free: 10.72 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.492609776090831] Failed to read output from testmodel.py, exit status != 0: 0.11103695817291737 0.12568120200000002 0.026816818000000003 Calling exit ...