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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) 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=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3332,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 115.5 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 193.5 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1917/0.1917, allocations: 24.81 MB / 295.4 MB, free: 3.191 MB / 238.1 MB 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.002418/0.002419, allocations: 59.91 kB / 359.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2546, allocations: 52.29 MB / 411.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002533/0.2572, allocations: 1.571 MB / 413.2 MB, free: 36.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009178/0.2581, allocations: 0.6553 MB / 413.8 MB, free: 35.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.2581, allocations: 0 / 413.8 MB, free: 35.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.2582, allocations: 3.938 kB / 413.8 MB, free: 35.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.2583, allocations: 8.547 kB / 413.9 MB, free: 35.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.2586, allocations: 81.44 kB / 413.9 MB, free: 35.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.2587, allocations: 27.8 kB / 414 MB, free: 35.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.2588, allocations: 0 / 414 MB, free: 35.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.2588, allocations: 11.78 kB / 414 MB, free: 35.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.671e-05/0.2588, allocations: 11.92 kB / 414 MB, free: 35.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.2588, allocations: 4 kB / 414 MB, free: 35.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.2591, allocations: 63.88 kB / 414.1 MB, free: 35.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2591, allocations: 15.91 kB / 414.1 MB, free: 35.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.2591, allocations: 11.94 kB / 414.1 MB, free: 35.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2593, allocations: 57.7 kB / 414.1 MB, free: 35.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2593, allocations: 0 / 414.1 MB, free: 35.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2593, allocations: 0 / 414.1 MB, free: 35.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2593, allocations: 0 / 414.1 MB, free: 35.54 MB / 318.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.0002614/0.2595, allocations: 348.7 kB / 414.5 MB, free: 35.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2596, allocations: 12.03 kB / 414.5 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.2596, allocations: 0.9375 kB / 414.5 MB, free: 35.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.2597, allocations: 176.8 kB / 414.7 MB, free: 34.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2597, allocations: 4.812 kB / 414.7 MB, free: 34.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2597, allocations: 0.9375 kB / 414.7 MB, free: 34.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.2599, allocations: 61.03 kB / 414.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2599, allocations: 0 / 414.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2599, allocations: 1.781 kB / 414.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2599, allocations: 0 / 414.7 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.2599, allocations: 8 kB / 414.7 MB, free: 34.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.2602, allocations: 343.4 kB / 415.1 MB, free: 34.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.2603, allocations: 38.19 kB / 415.1 MB, free: 34.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.2603, allocations: 25.09 kB / 415.1 MB, free: 34.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/0.2607, allocations: 205.5 kB / 415.3 MB, free: 34.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2608, allocations: 35.59 kB / 415.4 MB, free: 34.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2608, allocations: 0 / 415.4 MB, free: 34.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001739/0.261, allocations: 54.22 kB / 415.4 MB, free: 34.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.261, allocations: 77.77 kB / 415.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.2611, allocations: 106.5 kB / 415.6 MB, free: 33.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.2611, allocations: 27.77 kB / 415.6 MB, free: 33.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.2611, allocations: 88.08 kB / 415.7 MB, free: 33.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.2611, allocations: 11.81 kB / 415.7 MB, free: 33.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.2612, allocations: 13.72 kB / 415.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.2612, allocations: 324 kB / 416.1 MB, free: 33.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.2612, allocations: 0 / 416.1 MB, free: 33.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.2613, allocations: 18.22 kB / 416.1 MB, free: 33.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.2613, allocations: 26.81 kB / 416.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2613, allocations: 0.875 kB / 416.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.942e-05/0.2614, allocations: 50.94 kB / 416.2 MB, free: 33.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2614, allocations: 4 kB / 416.2 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2614, allocations: 4 kB / 416.2 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2614, allocations: 1.125 kB / 416.2 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.45e-05/0.2615, allocations: 0 / 416.2 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2615, allocations: 4 kB / 416.2 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.2615, allocations: 0.5 kB / 416.2 MB, free: 33.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.2615, allocations: 1.781 kB / 416.2 MB, free: 33.24 MB / 318.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 5.458e-05/0.2616, allocations: 113.8 kB / 416.3 MB, free: 33.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.2616, allocations: 3.984 kB / 416.3 MB, free: 33.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.2617, allocations: 44.23 kB / 416.3 MB, free: 33.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2617, allocations: 7.984 kB / 416.3 MB, free: 33.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2617, allocations: 0 / 416.3 MB, free: 33.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2617, allocations: 0 / 416.3 MB, free: 33.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.2619, allocations: 282.2 kB / 416.6 MB, free: 32.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.262, allocations: 4.25 kB / 416.6 MB, free: 32.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/0.262, allocations: 4 kB / 416.6 MB, free: 32.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.262, allocations: 3.938 kB / 416.6 MB, free: 32.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.262, allocations: 4 kB / 416.6 MB, free: 32.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.262, allocations: 0 / 416.6 MB, free: 32.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.262, allocations: 0 / 416.6 MB, free: 32.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.2621, allocations: 222.1 kB / 416.8 MB, free: 32.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.2621, allocations: 77.11 kB / 416.9 MB, free: 32.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2621, allocations: 7.984 kB / 416.9 MB, free: 32.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.2622, allocations: 0 / 416.9 MB, free: 32.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.2622, allocations: 7.938 kB / 416.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2622, allocations: 4 kB / 416.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.184e-05/0.2623, allocations: 76.59 kB / 417 MB, free: 32.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2623, allocations: 4 kB / 417 MB, free: 32.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.2625, allocations: 19.94 kB / 417 MB, free: 32.28 MB / 318.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.000149/0.2627, allocations: 126.8 kB / 417.2 MB, free: 32.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.2628, allocations: 45.58 kB / 417.2 MB, free: 32.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2628, allocations: 0 / 417.2 MB, free: 32.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.2628, allocations: 33.69 kB / 417.2 MB, free: 32.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2631, allocations: 9.562 kB / 417.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.2634, allocations: 145.9 kB / 417.4 MB, free: 31.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2635, allocations: 0.6844 MB / 418.1 MB, free: 31.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.2636, allocations: 0.6875 kB / 418.1 MB, free: 31.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.2636, allocations: 7.438 kB / 418.1 MB, free: 31.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2636, allocations: 4 kB / 418.1 MB, free: 31.16 MB / 318.1 MB Notification: Performance of Templates: time 0.002563/0.2661, allocations: 0.5126 MB / 418.6 MB, free: 30.65 MB / 318.1 MB make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile (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 -s cvode -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1)