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.008588/0.008588, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001405/0.001405, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.649/1.649, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.2184/0.2184, allocations: 24.84 MB / 294.7 MB, free: 12.3 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.001701/0.001701, allocations: 72.27 kB / 412.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3169, allocations: 52.29 MB / 464.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002662/0.3196, allocations: 1.577 MB / 466.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3208, allocations: 0.6569 MB / 466.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.3208, allocations: 0 / 466.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.3209, allocations: 3.938 kB / 466.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.3209, allocations: 7.938 kB / 466.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3213, allocations: 75.72 kB / 466.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.3214, allocations: 23.88 kB / 466.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.3215, allocations: 3.984 kB / 466.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.3215, allocations: 11.92 kB / 466.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.3216, allocations: 11.94 kB / 467 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3216, allocations: 4 kB / 467 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.3218, allocations: 67.86 kB / 467 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.3218, allocations: 4 kB / 467 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.3219, allocations: 7.938 kB / 467 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.3221, allocations: 75.36 kB / 467.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3221, allocations: 0 / 467.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3221, allocations: 0 / 467.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3221, allocations: 0 / 467.1 MB, free: 4.906 MB / 334.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.0003802/0.3225, allocations: 345.7 kB / 467.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3225, allocations: 8.031 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.3226, allocations: 0.9375 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3227, allocations: 172.3 kB / 467.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3228, allocations: 4.312 kB / 467.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3228, allocations: 12.31 kB / 467.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3229, allocations: 51.73 kB / 467.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3229, allocations: 0 / 467.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3229, allocations: 0 / 467.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3229, allocations: 0 / 467.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.323, allocations: 11.98 kB / 467.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.3234, allocations: 337 kB / 468 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.3235, allocations: 41.09 kB / 468.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.3236, allocations: 13.84 kB / 468.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004727/0.324, allocations: 214.2 kB / 468.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3241, allocations: 42.5 kB / 468.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3241, allocations: 0 / 468.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.3243, allocations: 49.62 kB / 468.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3243, allocations: 77.11 kB / 468.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.3244, allocations: 101.9 kB / 468.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3244, allocations: 25.7 kB / 468.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.3245, allocations: 96.22 kB / 468.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3245, allocations: 15.89 kB / 468.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.3246, allocations: 13.72 kB / 468.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3247, allocations: 314.8 kB / 469 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.3247, allocations: 4 kB / 469 MB, free: 2.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.3247, allocations: 17.95 kB / 469 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.3248, allocations: 29.69 kB / 469.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3248, allocations: 4 kB / 469.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.665e-05/0.3248, allocations: 45.55 kB / 469.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3249, allocations: 4 kB / 469.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3249, allocations: 11.98 kB / 469.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3249, allocations: 0 / 469.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.696e-05/0.3249, allocations: 0 / 469.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3249, allocations: 4 kB / 469.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.325, allocations: 0 / 469.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.325, allocations: 4.062 kB / 469.1 MB, free: 2.582 MB / 334.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.49e-05/0.325, allocations: 113.8 kB / 469.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3251, allocations: 0 / 469.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.893e-05/0.3252, allocations: 52.73 kB / 469.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3252, allocations: 4 kB / 469.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3252, allocations: 0 / 469.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3252, allocations: 0 / 469.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.3255, allocations: 270.6 kB / 469.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3255, allocations: 4 kB / 469.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-06/0.3255, allocations: 0 / 469.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3255, allocations: 3.938 kB / 469.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3255, allocations: 8.047 kB / 469.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3256, allocations: 0 / 469.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3256, allocations: 3.984 kB / 469.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3257, allocations: 230.6 kB / 469.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3257, allocations: 81.05 kB / 469.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3258, allocations: 4 kB / 469.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.3258, allocations: 0 / 469.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.3259, allocations: 3.938 kB / 469.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3259, allocations: 4 kB / 469.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.3259, allocations: 87.27 kB / 470 MB, free: 1.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3259, allocations: 0 / 470 MB, free: 1.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3262, allocations: 16 kB / 470 MB, free: 1.609 MB / 334.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.000166/0.3264, allocations: 131.2 kB / 470.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.3265, allocations: 41.64 kB / 470.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3265, allocations: 0 / 470.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.3265, allocations: 29.7 kB / 470.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3268, allocations: 4 kB / 470.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.3271, allocations: 148.3 kB / 470.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.3275, allocations: 0.6768 MB / 471 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.446e-05/0.3276, allocations: 7.891 kB / 471 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.3276, allocations: 7.438 kB / 471 MB, free: 500 kB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3276, allocations: 0 / 471 MB, free: 500 kB / 334.1 MB Notification: Performance of Templates: time 0.002975/0.3306, allocations: 0.5196 MB / 471.6 MB, free: 15.97 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)