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.006205/0.006205, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001114/0.001114, allocations: 197 kB / 16.67 MB, free: 5.973 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.341/1.341, allocations: 205.1 MB / 222.6 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.2022/0.2022, allocations: 24.84 MB / 294.7 MB, free: 12.14 MB / 254.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.001502/0.001502, allocations: 75.89 kB / 412.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2424, allocations: 52.28 MB / 464.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002858/0.2453, allocations: 1.569 MB / 466.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2466, allocations: 0.6608 MB / 466.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.2467, allocations: 0 / 466.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.874e-05/0.2468, allocations: 7.938 kB / 466.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.2469, allocations: 7.922 kB / 466.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2474, allocations: 75.67 kB / 466.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2475, allocations: 27.86 kB / 466.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.2476, allocations: 0 / 466.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.2476, allocations: 15.98 kB / 467 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.2476, allocations: 11.92 kB / 467 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.2477, allocations: 0 / 467 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.248, allocations: 71.86 kB / 467 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.248, allocations: 3.938 kB / 467 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.248, allocations: 15.94 kB / 467.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.2482, allocations: 63.03 kB / 467.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2482, allocations: 0 / 467.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2483, allocations: 4 kB / 467.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2483, allocations: 0 / 467.1 MB, free: 4.91 MB / 334.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.0004397/0.2487, allocations: 348.7 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2488, allocations: 8.031 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.2488, allocations: 0.9375 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.249, allocations: 168.4 kB / 467.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.249, allocations: 4.375 kB / 467.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.249, allocations: 4.312 kB / 467.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.2491, allocations: 59.72 kB / 467.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2492, allocations: 0 / 467.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2492, allocations: 0 / 467.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2492, allocations: 4 kB / 467.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.2492, allocations: 4 kB / 467.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.2497, allocations: 345 kB / 468 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/0.2498, allocations: 45.16 kB / 468.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.2498, allocations: 17.78 kB / 468.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.2503, allocations: 210.2 kB / 468.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2504, allocations: 34.55 kB / 468.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.2504, allocations: 0 / 468.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001939/0.2506, allocations: 45.64 kB / 468.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.2506, allocations: 81.11 kB / 468.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.2507, allocations: 101.8 kB / 468.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2508, allocations: 25.95 kB / 468.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.2508, allocations: 100 kB / 468.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.2509, allocations: 15.81 kB / 468.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.2509, allocations: 17.7 kB / 468.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.251, allocations: 318.8 kB / 469 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.2511, allocations: 4 kB / 469 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2511, allocations: 9.719 kB / 469 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.2511, allocations: 29.69 kB / 469.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2511, allocations: 0 / 469.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.625e-05/0.2512, allocations: 53.58 kB / 469.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2512, allocations: 8 kB / 469.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.2513, allocations: 0 / 469.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2513, allocations: 0 / 469.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.2513, allocations: 4 kB / 469.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2513, allocations: 0 / 469.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.2514, allocations: 4.062 kB / 469.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2514, allocations: 0 / 469.1 MB, free: 2.586 MB / 334.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.763e-05/0.2515, allocations: 117.8 kB / 469.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2515, allocations: 0 / 469.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.2516, allocations: 52.75 kB / 469.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2517, allocations: 0 / 469.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2517, allocations: 0 / 469.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2517, allocations: 3.984 kB / 469.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.252, allocations: 274.6 kB / 469.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.252, allocations: 0 / 469.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-06/0.252, allocations: 0 / 469.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.252, allocations: 4 kB / 469.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.252, allocations: 0 / 469.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.252, allocations: 4.234 kB / 469.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.252, allocations: 4 kB / 469.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.2522, allocations: 222.8 kB / 469.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.2523, allocations: 89.08 kB / 469.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2523, allocations: 0 / 469.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.2524, allocations: 0 / 469.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.2524, allocations: 3.938 kB / 469.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.2524, allocations: 4 kB / 469.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.467e-05/0.2525, allocations: 83.28 kB / 470 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.2525, allocations: 0 / 470 MB, free: 1.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.2528, allocations: 27.8 kB / 470 MB, free: 1.609 MB / 334.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.0002357/0.253, allocations: 127.1 kB / 470.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.2532, allocations: 45.62 kB / 470.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2532, allocations: 0 / 470.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.2532, allocations: 33.7 kB / 470.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2535, allocations: 7.938 kB / 470.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.2539, allocations: 140.3 kB / 470.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2542, allocations: 0.6807 MB / 471 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.698e-06/0.2542, allocations: 0 / 471 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.2542, allocations: 7.438 kB / 471.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2542, allocations: 0 / 471.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of Templates: time 0.002767/0.257, allocations: 0.5204 MB / 471.6 MB, free: 15.97 MB / 350.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 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1)