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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1852/0.1852, allocations: 24.83 MB / 294.6 MB, free: 12.38 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.001364/0.001364, allocations: 71.69 kB / 357.9 MB, free: 8.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 52.29 MB / 410.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003166/0.1178, allocations: 1.568 MB / 411.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1188, allocations: 0.6596 MB / 412.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.1189, allocations: 0 / 412.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.1189, allocations: 3.938 kB / 412.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.414e-05/0.119, allocations: 11.92 kB / 412.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1193, allocations: 71.73 kB / 412.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.1194, allocations: 31.8 kB / 412.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1194, allocations: 0 / 412.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1195, allocations: 8 kB / 412.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.1195, allocations: 11.92 kB / 412.5 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1195, allocations: 4 kB / 412.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.1198, allocations: 71.86 kB / 412.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.1198, allocations: 7.984 kB / 412.6 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1198, allocations: 7.938 kB / 412.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.12, allocations: 68.08 kB / 412.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.12, allocations: 0 / 412.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.12, allocations: 0 / 412.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.12, allocations: 4 kB / 412.7 MB, free: 1.203 MB / 302.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.0003737/0.1204, allocations: 351.3 kB / 413 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1204, allocations: 8.031 kB / 413.1 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1205, allocations: 4.844 kB / 413.1 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1206, allocations: 168.3 kB / 413.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1206, allocations: 384 / 413.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.1206, allocations: 384 / 413.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1207, allocations: 59.66 kB / 413.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1208, allocations: 3.984 kB / 413.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1208, allocations: 0 / 413.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1208, allocations: 8 kB / 413.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.1208, allocations: 8 kB / 413.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1212, allocations: 333 kB / 413.6 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.1213, allocations: 49.31 kB / 413.7 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.1213, allocations: 21.66 kB / 413.7 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.1218, allocations: 206.2 kB / 413.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1218, allocations: 38.56 kB / 413.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1218, allocations: 0 / 413.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.122, allocations: 57.53 kB / 414 MB, free: 15.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1221, allocations: 81.11 kB / 414.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.1222, allocations: 97.84 kB / 414.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1222, allocations: 29.7 kB / 414.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1222, allocations: 84.14 kB / 414.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.1222, allocations: 7.812 kB / 414.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1223, allocations: 21.7 kB / 414.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.1224, allocations: 323 kB / 414.6 MB, free: 15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.1224, allocations: 4 kB / 414.6 MB, free: 15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.1224, allocations: 13.72 kB / 414.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.1225, allocations: 21.66 kB / 414.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1225, allocations: 0 / 414.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.937e-05/0.1225, allocations: 45.75 kB / 414.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1226, allocations: 15.97 kB / 414.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1226, allocations: 0 / 414.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1226, allocations: 0 / 414.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.072e-05/0.1226, allocations: 7.938 kB / 414.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1226, allocations: 0 / 414.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1227, allocations: 3.938 kB / 414.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1227, allocations: 0 / 414.7 MB, free: 14.88 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 7.037e-05/0.1228, allocations: 121.8 kB / 414.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1228, allocations: 3.906 kB / 414.9 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.693e-05/0.1229, allocations: 44.83 kB / 414.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1229, allocations: 4 kB / 414.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1229, allocations: 0 / 414.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1229, allocations: 3.984 kB / 414.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.1232, allocations: 270.5 kB / 415.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1232, allocations: 0 / 415.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.1232, allocations: 0 / 415.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1232, allocations: 4 kB / 415.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.1232, allocations: 4.062 kB / 415.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1232, allocations: 0 / 415.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1232, allocations: 3.984 kB / 415.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1234, allocations: 218.7 kB / 415.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1234, allocations: 85.09 kB / 415.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1234, allocations: 0 / 415.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.1235, allocations: 256 / 415.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.1235, allocations: 7.969 kB / 415.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1235, allocations: 8 kB / 415.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.909e-05/0.1236, allocations: 79.28 kB / 415.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1236, allocations: 0 / 415.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1239, allocations: 23.98 kB / 415.6 MB, free: 13.91 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.0001602/0.124, allocations: 127.1 kB / 415.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1241, allocations: 41.62 kB / 415.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1241, allocations: 4.125 kB / 415.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.1242, allocations: 37.7 kB / 415.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1245, allocations: 0 / 415.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.1247, allocations: 136 kB / 415.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.125, allocations: 0.6923 MB / 416.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.125, allocations: 3.938 kB / 416.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.125, allocations: 7.438 kB / 416.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.125, allocations: 0 / 416.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Templates: time 0.002629/0.1277, allocations: 0.5162 MB / 417.2 MB, free: 12.27 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 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1)