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.001158/0.001158, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001448/0.001448, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.659/1.659, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1121/0.1121, allocations: 24.84 MB / 294.3 MB, free: 12.54 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.001361/0.001361, allocations: 60.94 kB / 357.4 MB, free: 8.438 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1171, allocations: 52.28 MB / 409.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002724/0.1198, allocations: 1.625 MB / 411.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1209, allocations: 0.6481 MB / 412 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.121, allocations: 4 kB / 412 MB, free: 1.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.121, allocations: 7.984 kB / 412 MB, free: 1.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.1211, allocations: 7.922 kB / 412 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.1214, allocations: 59.81 kB / 412 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.1215, allocations: 23.86 kB / 412.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1215, allocations: 7.984 kB / 412.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.1215, allocations: 4 kB / 412.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.517e-05/0.1216, allocations: 11.94 kB / 412.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.1216, allocations: 0 / 412.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.1218, allocations: 79.86 kB / 412.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1218, allocations: 3.984 kB / 412.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1219, allocations: 11.88 kB / 412.2 MB, free: 1.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.122, allocations: 68.08 kB / 412.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.122, allocations: 0 / 412.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.122, allocations: 0 / 412.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.122, allocations: 0 / 412.2 MB, free: 1.523 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.000315/0.1223, allocations: 347.4 kB / 412.6 MB, free: 1.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1224, allocations: 8.031 kB / 412.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1224, allocations: 8.844 kB / 412.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1225, allocations: 176.3 kB / 412.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.1226, allocations: 384 / 412.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.1226, allocations: 12.36 kB / 412.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1227, allocations: 47.73 kB / 412.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1227, allocations: 4 kB / 412.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1227, allocations: 3.984 kB / 412.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1227, allocations: 0 / 412.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.1228, allocations: 11.92 kB / 412.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1231, allocations: 333.1 kB / 413.2 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.1232, allocations: 45.16 kB / 413.2 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.1233, allocations: 13.78 kB / 413.2 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.1238, allocations: 222.1 kB / 413.5 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1238, allocations: 30.56 kB / 413.5 MB, free: 68 kB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1238, allocations: 0 / 413.5 MB, free: 68 kB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.124, allocations: 57.53 kB / 413.5 MB, free: 4 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/0.1241, allocations: 81.36 kB / 413.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.1242, allocations: 101.8 kB / 413.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1242, allocations: 29.7 kB / 413.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1242, allocations: 84.12 kB / 413.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.1243, allocations: 11.81 kB / 413.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.1243, allocations: 13.72 kB / 413.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1244, allocations: 314.8 kB / 414.2 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.1244, allocations: 8 kB / 414.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.1245, allocations: 25.64 kB / 414.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.1245, allocations: 21.72 kB / 414.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1245, allocations: 3.938 kB / 414.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001376/0.1246, allocations: 45.64 kB / 414.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1247, allocations: 4 kB / 414.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1247, allocations: 3.984 kB / 414.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1247, allocations: 4.094 kB / 414.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.5e-05/0.1247, allocations: 4 kB / 414.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1248, allocations: 0 / 414.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1248, allocations: 3.938 kB / 414.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1248, allocations: 4 kB / 414.3 MB, free: 15.18 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 6.088e-05/0.1249, allocations: 109.8 kB / 414.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.1249, allocations: 7.906 kB / 414.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.125, allocations: 52.73 kB / 414.5 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.125, allocations: 4.031 kB / 414.5 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.125, allocations: 0 / 414.5 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.125, allocations: 0 / 414.5 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1254, allocations: 270.6 kB / 414.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1254, allocations: 256 / 414.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.1255, allocations: 12 kB / 414.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1255, allocations: 0 / 414.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1255, allocations: 0 / 414.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1255, allocations: 3.938 kB / 414.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1255, allocations: 4 kB / 414.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.1257, allocations: 214.8 kB / 414.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1257, allocations: 81.11 kB / 415 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1258, allocations: 0 / 415 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.1258, allocations: 0 / 415 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.1259, allocations: 7.938 kB / 415 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1259, allocations: 0 / 415 MB, free: 14.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.1259, allocations: 91.3 kB / 415.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1259, allocations: 0 / 415.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1262, allocations: 20 kB / 415.1 MB, free: 14.22 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.0001557/0.1264, allocations: 119.2 kB / 415.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1265, allocations: 45.64 kB / 415.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1265, allocations: 3.938 kB / 415.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.1265, allocations: 33.83 kB / 415.3 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1269, allocations: 4.062 kB / 415.3 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.1272, allocations: 156 kB / 415.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1274, allocations: 0.6805 MB / 416.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.064e-05/0.1274, allocations: 3.984 kB / 416.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.103e-05/0.1274, allocations: 7.438 kB / 416.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1274, allocations: 4 kB / 416.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Templates: time 0.002417/0.1299, allocations: 0.5124 MB / 416.7 MB, free: 12.58 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)