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.001088/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001536/0.001536, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.456/1.456, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1127/0.1127, allocations: 24.81 MB / 294.3 MB, free: 12.51 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.002033/0.002033, allocations: 79.97 kB / 357.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1305, allocations: 52.28 MB / 409.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003068/0.1336, allocations: 1.633 MB / 411.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1347, allocations: 0.6481 MB / 412 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.1347, allocations: 0 / 412 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.1348, allocations: 4 kB / 412 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.1349, allocations: 7.922 kB / 412 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1353, allocations: 75.78 kB / 412.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.1353, allocations: 15.94 kB / 412.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.1354, allocations: 4 kB / 412.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.1354, allocations: 11.94 kB / 412.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.846e-05/0.1354, allocations: 15.86 kB / 412.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1355, allocations: 0 / 412.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.1357, allocations: 71.91 kB / 412.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.1357, allocations: 0 / 412.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.1358, allocations: 11.94 kB / 412.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.136, allocations: 64.09 kB / 412.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.136, allocations: 8 kB / 412.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.136, allocations: 3.938 kB / 412.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.136, allocations: 0 / 412.3 MB, free: 8.898 MB / 350.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.0003628/0.1364, allocations: 343.4 kB / 412.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1364, allocations: 8.031 kB / 412.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1365, allocations: 8.938 kB / 412.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1366, allocations: 176.2 kB / 412.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1366, allocations: 384 / 412.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1366, allocations: 8.375 kB / 412.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1368, allocations: 55.66 kB / 412.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1368, allocations: 0 / 412.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1368, allocations: 4 kB / 412.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1369, allocations: 0 / 412.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.903e-05/0.1369, allocations: 7.938 kB / 412.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1373, allocations: 345.1 kB / 413.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.1374, allocations: 41.16 kB / 413.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.1374, allocations: 17.78 kB / 413.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.1379, allocations: 210.2 kB / 413.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.138, allocations: 34.55 kB / 413.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.138, allocations: 0 / 413.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001946/0.1382, allocations: 49.64 kB / 413.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1382, allocations: 77.11 kB / 413.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1383, allocations: 101.8 kB / 413.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1384, allocations: 25.95 kB / 413.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.1384, allocations: 96.05 kB / 413.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.1384, allocations: 3.906 kB / 413.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1385, allocations: 17.7 kB / 413.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1386, allocations: 322.7 kB / 414.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.1387, allocations: 4 kB / 414.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.1387, allocations: 13.72 kB / 414.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.1387, allocations: 25.73 kB / 414.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1387, allocations: 0 / 414.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.001e-05/0.1388, allocations: 49.55 kB / 414.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1388, allocations: 8 kB / 414.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1388, allocations: 0 / 414.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1389, allocations: 0 / 414.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.696e-05/0.1389, allocations: 4 kB / 414.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1389, allocations: 0 / 414.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1389, allocations: 8 kB / 414.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.139, allocations: 7.984 kB / 414.3 MB, free: 6.57 MB / 350.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.637e-05/0.139, allocations: 109.8 kB / 414.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.1391, allocations: 0 / 414.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1392, allocations: 48.77 kB / 414.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1392, allocations: 7.922 kB / 414.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1392, allocations: 3.938 kB / 414.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1392, allocations: 0 / 414.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1395, allocations: 274.6 kB / 414.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1395, allocations: 0 / 414.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.1395, allocations: 7.938 kB / 414.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1395, allocations: 8.016 kB / 414.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1396, allocations: 0 / 414.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1396, allocations: 0 / 414.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1396, allocations: 0 / 414.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1397, allocations: 223 kB / 415 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.1398, allocations: 81.11 kB / 415 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1398, allocations: 4 kB / 415 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1399, allocations: 4 kB / 415 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1399, allocations: 7.938 kB / 415.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1399, allocations: 0 / 415.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.24e-05/0.1399, allocations: 79.28 kB / 415.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.1399, allocations: 0 / 415.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.1402, allocations: 31.95 kB / 415.2 MB, free: 5.586 MB / 350.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.0001849/0.1404, allocations: 123.2 kB / 415.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1406, allocations: 41.69 kB / 415.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1406, allocations: 0 / 415.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.1406, allocations: 41.64 kB / 415.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1409, allocations: 0 / 415.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.1413, allocations: 136.4 kB / 415.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1416, allocations: 0.6807 MB / 416.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.198e-05/0.1416, allocations: 3.906 kB / 416.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.1416, allocations: 7.438 kB / 416.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1416, allocations: 0 / 416.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Templates: time 0.002783/0.1444, allocations: 0.5198 MB / 416.7 MB, free: 3.965 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)