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.0009321/0.0009322, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007686/0.007686, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.266/1.266, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1045/0.1045, allocations: 24.9 MB / 295.6 MB, free: 12.25 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.0004422/0.0004424, allocations: 14.38 kB / 359.8 MB, free: 8.242 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09112, allocations: 53.42 MB / 413.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001556/0.09271, allocations: 1.302 MB / 414.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009098/0.09363, allocations: 0.6404 MB / 415.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.09366, allocations: 0 / 415.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.09369, allocations: 0 / 415.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.09374, allocations: 3.938 kB / 415.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.094, allocations: 63.8 kB / 415.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.09406, allocations: 27.86 kB / 415.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.0941, allocations: 7.938 kB / 415.3 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.09412, allocations: 8 kB / 415.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.589e-05/0.09417, allocations: 15.94 kB / 415.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-06/0.09418, allocations: 0 / 415.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.09437, allocations: 71.91 kB / 415.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.09439, allocations: 4 kB / 415.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.09443, allocations: 41.56 kB / 415.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.09456, allocations: 68.03 kB / 415.5 MB, free: 496 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09457, allocations: 0 / 415.5 MB, free: 496 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09458, allocations: 0 / 415.5 MB, free: 496 kB / 302.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.09459, allocations: 0 / 415.5 MB, free: 496 kB / 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.0002679/0.09486, allocations: 343.4 kB / 415.8 MB, free: 104 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.0949, allocations: 12.03 kB / 415.8 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.09492, allocations: 0.9375 kB / 415.8 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.09505, allocations: 180.2 kB / 416 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.09506, allocations: 384 / 416 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.09508, allocations: 4.375 kB / 416 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.09518, allocations: 51.72 kB / 416.1 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.09519, allocations: 0 / 416.1 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.09521, allocations: 7.938 kB / 416.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.09522, allocations: 4 kB / 416.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.09524, allocations: 8 kB / 416.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.09555, allocations: 329.1 kB / 416.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/0.09563, allocations: 45.16 kB / 416.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.09566, allocations: 21.77 kB / 416.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004295/0.09609, allocations: 202.2 kB / 416.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.09613, allocations: 34.5 kB / 416.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.09613, allocations: 0 / 416.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001559/0.09629, allocations: 53.59 kB / 416.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.09635, allocations: 81.05 kB / 416.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.09642, allocations: 102.1 kB / 416.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.09644, allocations: 29.7 kB / 417 MB, free: 14.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.09649, allocations: 88.12 kB / 417 MB, free: 14.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.0965, allocations: 7.812 kB / 417 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.09653, allocations: 13.72 kB / 417.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.09663, allocations: 318.8 kB / 417.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.09664, allocations: 0 / 417.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.09667, allocations: 17.7 kB / 417.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.0967, allocations: 25.75 kB / 417.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.09671, allocations: 0 / 417.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.86e-05/0.09679, allocations: 45.64 kB / 417.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.0968, allocations: 6.656 kB / 417.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.09682, allocations: 4 kB / 417.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.09683, allocations: 4.031 kB / 417.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.09687, allocations: 3.984 kB / 417.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.09688, allocations: 7.938 kB / 417.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.0969, allocations: 8 kB / 417.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.09691, allocations: 0 / 417.5 MB, free: 14.17 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.978e-05/0.09698, allocations: 121.7 kB / 417.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.09702, allocations: 0 / 417.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.923e-05/0.0971, allocations: 44.81 kB / 417.7 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.09712, allocations: 4 kB / 417.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.09713, allocations: 0 / 417.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.09714, allocations: 0 / 417.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.09738, allocations: 282.7 kB / 417.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.0974, allocations: 4 kB / 417.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.09741, allocations: 4 kB / 417.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.09742, allocations: 0 / 417.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.09743, allocations: 4 kB / 417.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09744, allocations: 0 / 417.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.09744, allocations: 0 / 417.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.09756, allocations: 218.8 kB / 418.2 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.0976, allocations: 81.05 kB / 418.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.09762, allocations: 4 kB / 418.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.09769, allocations: 0 / 418.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.09771, allocations: 3.938 kB / 418.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.09772, allocations: 4 kB / 418.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.09776, allocations: 87.27 kB / 418.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09777, allocations: 0 / 418.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.09803, allocations: 20.03 kB / 418.4 MB, free: 13.2 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.0001464/0.09818, allocations: 127.1 kB / 418.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.963e-05/0.09828, allocations: 37.7 kB / 418.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.09829, allocations: 0 / 418.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.09832, allocations: 33.64 kB / 418.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.09859, allocations: 8 kB / 418.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.09883, allocations: 159.5 kB / 418.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.09905, allocations: 0.677 MB / 419.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.316e-06/0.09907, allocations: 0 / 419.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.09908, allocations: 11.44 kB / 419.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.09909, allocations: 0 / 419.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Templates: time 0.002235/0.1013, allocations: 0.5117 MB / 419.9 MB, free: 11.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)