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.001034/0.001035, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00131/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1111/0.1111, allocations: 24.91 MB / 295.3 MB, free: 12.34 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.0004881/0.0004881, allocations: 12.69 kB / 359.2 MB, free: 8.555 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09505, allocations: 53.42 MB / 412.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001619/0.09672, allocations: 1.282 MB / 413.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.0976, allocations: 0.6058 MB / 414.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.09764, allocations: 0 / 414.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.09767, allocations: 3.984 kB / 414.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.09773, allocations: 11.86 kB / 414.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.09802, allocations: 63.8 kB / 414.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.09808, allocations: 19.88 kB / 414.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.09813, allocations: 11.98 kB / 414.6 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.09816, allocations: 7.938 kB / 414.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.0982, allocations: 8 kB / 414.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.09821, allocations: 0 / 414.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.09841, allocations: 71.86 kB / 414.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.09843, allocations: 3.984 kB / 414.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.09846, allocations: 33.64 kB / 414.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.09856, allocations: 44.17 kB / 414.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.09858, allocations: 4 kB / 414.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09858, allocations: 0 / 414.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.09859, allocations: 0 / 414.8 MB, free: 0.8984 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.0002671/0.09886, allocations: 343.3 kB / 415.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.0989, allocations: 8.031 kB / 415.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.09893, allocations: 4 kB / 415.1 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.09905, allocations: 174.9 kB / 415.3 MB, free: 300 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.09907, allocations: 0 / 415.3 MB, free: 300 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.09908, allocations: 4 kB / 415.3 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.0992, allocations: 51.41 kB / 415.4 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09921, allocations: 0 / 415.4 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.09923, allocations: 0 / 415.4 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.09924, allocations: 4 kB / 415.4 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.09928, allocations: 15.88 kB / 415.4 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.09966, allocations: 333.1 kB / 415.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.665e-05/0.09973, allocations: 41.16 kB / 415.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.09977, allocations: 21.78 kB / 415.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.1002, allocations: 202.2 kB / 416 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1002, allocations: 34.56 kB / 416 MB, free: 15.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1002, allocations: 3.938 kB / 416 MB, free: 15.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.1004, allocations: 45.69 kB / 416.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1005, allocations: 85 kB / 416.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.1005, allocations: 110.1 kB / 416.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1006, allocations: 25.7 kB / 416.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1006, allocations: 88.05 kB / 416.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.1006, allocations: 7.906 kB / 416.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.1006, allocations: 0 / 416.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.1007, allocations: 310.8 kB / 416.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.1008, allocations: 7.984 kB / 416.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.1008, allocations: 13.72 kB / 416.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.786e-05/0.1008, allocations: 8.031 kB / 416.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1008, allocations: 3.938 kB / 416.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.003e-05/0.1009, allocations: 49.55 kB / 416.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1009, allocations: 7.984 kB / 416.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1009, allocations: 4 kB / 416.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.1009, allocations: 0 / 416.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.869e-05/0.101, allocations: 0 / 416.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.101, allocations: 7.953 kB / 416.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.101, allocations: 8 kB / 416.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.101, allocations: 48 / 416.8 MB, free: 14.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.1011, allocations: 117.6 kB / 416.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.1011, allocations: 3.984 kB / 416.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.1012, allocations: 48.75 kB / 416.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1012, allocations: 4 kB / 416.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1013, allocations: 256 / 416.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1013, allocations: 3.953 kB / 416.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1015, allocations: 270.7 kB / 417.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.1015, allocations: 4 kB / 417.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.1015, allocations: 3.938 kB / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1016, allocations: 0 / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1016, allocations: 4 kB / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1016, allocations: 3.938 kB / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1016, allocations: 3.953 kB / 417.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1017, allocations: 218.8 kB / 417.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.1017, allocations: 81.11 kB / 417.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1018, allocations: 4 kB / 417.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1018, allocations: 0 / 417.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.1019, allocations: 3.953 kB / 417.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1019, allocations: 3.984 kB / 417.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.1019, allocations: 79.28 kB / 417.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1019, allocations: 0 / 417.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1022, allocations: 24.03 kB / 417.6 MB, free: 13.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.1024, allocations: 135.1 kB / 417.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1025, allocations: 33.7 kB / 417.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1025, allocations: 0 / 417.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.1025, allocations: 33.7 kB / 417.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1028, allocations: 4 kB / 417.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.1031, allocations: 151.6 kB / 418 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1033, allocations: 0.6848 MB / 418.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.266e-06/0.1033, allocations: 0 / 418.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.1034, allocations: 7.438 kB / 418.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1034, allocations: 3.938 kB / 418.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Templates: time 0.002354/0.1057, allocations: 0.4995 MB / 419.2 MB, free: 12.05 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)