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.001161/0.001161, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001294/0.001294, allocations: 177.3 kB / 15.94 MB, free: 228 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.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1099/0.1099, allocations: 24.88 MB / 295.3 MB, free: 12.26 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.0005047/0.000505, allocations: 22.5 kB / 359.2 MB, free: 8.598 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 53.41 MB / 412.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002449/0.1143, allocations: 1.271 MB / 413.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1157, allocations: 0.5941 MB / 414.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.1158, allocations: 0 / 414.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.1158, allocations: 4 kB / 414.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.1159, allocations: 3.984 kB / 414.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1164, allocations: 63.8 kB / 414.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.1164, allocations: 23.95 kB / 414.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.1165, allocations: 0 / 414.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.1165, allocations: 11.94 kB / 414.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.1166, allocations: 7.938 kB / 414.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1166, allocations: 0 / 414.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1168, allocations: 75.84 kB / 414.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.1168, allocations: 0 / 414.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.1169, allocations: 33.7 kB / 414.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.117, allocations: 52.16 kB / 414.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.117, allocations: 0 / 414.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.117, allocations: 0 / 414.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1171, allocations: 0 / 414.7 MB, free: 0.9766 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.0003723/0.1174, allocations: 339.3 kB / 415 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1175, allocations: 12.03 kB / 415 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1175, allocations: 3.938 kB / 415.1 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1177, allocations: 174.9 kB / 415.2 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1177, allocations: 0 / 415.2 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1177, allocations: 8 kB / 415.2 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1178, allocations: 51.41 kB / 415.3 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1179, allocations: 0 / 415.3 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.1179, allocations: 0 / 415.3 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1179, allocations: 0 / 415.3 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.1179, allocations: 11.92 kB / 415.3 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1183, allocations: 341 kB / 415.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.1184, allocations: 41.09 kB / 415.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.1189, allocations: 206.3 kB / 415.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1189, allocations: 34.56 kB / 415.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1189, allocations: 0 / 415.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002518/0.1192, allocations: 130.9 kB / 416 MB, free: 15.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1192, allocations: 81.06 kB / 416.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.1193, allocations: 105.8 kB / 416.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1193, allocations: 25.7 kB / 416.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.1194, allocations: 84.05 kB / 416.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.1194, allocations: 11.91 kB / 416.3 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.1194, allocations: 0 / 416.3 MB, free: 15.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1195, allocations: 314.8 kB / 416.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.1196, allocations: 15.94 kB / 416.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.1196, allocations: 17.72 kB / 416.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.987e-05/0.1196, allocations: 0 / 416.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1196, allocations: 0 / 416.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.93e-05/0.1197, allocations: 49.59 kB / 416.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1197, allocations: 11.94 kB / 416.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1198, allocations: 0 / 416.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1198, allocations: 4.094 kB / 416.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.1198, allocations: 4 kB / 416.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1199, allocations: 0 / 416.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.1199, allocations: 7.891 kB / 416.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.1199, allocations: 0 / 416.7 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 8.967e-05/0.12, allocations: 113.6 kB / 416.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.12, allocations: 0 / 416.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1202, allocations: 52.84 kB / 416.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1202, allocations: 8.016 kB / 416.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1202, allocations: 0 / 416.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1202, allocations: 0 / 416.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1205, allocations: 282.5 kB / 417.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1205, allocations: 0 / 417.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.1205, allocations: 0 / 417.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1205, allocations: 4 kB / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1205, allocations: 0 / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1205, allocations: 0 / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1205, allocations: 3.953 kB / 417.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1207, allocations: 232.7 kB / 417.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1208, allocations: 81.11 kB / 417.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1208, allocations: 7.984 kB / 417.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.1209, allocations: 7.953 kB / 417.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1209, allocations: 7.938 kB / 417.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1209, allocations: 8.031 kB / 417.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.1209, allocations: 79.28 kB / 417.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.121, allocations: 0 / 417.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1213, allocations: 16 kB / 417.6 MB, free: 13.64 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.0001903/0.1215, allocations: 127.1 kB / 417.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1216, allocations: 41.64 kB / 417.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1216, allocations: 0 / 417.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.1216, allocations: 37.81 kB / 417.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.1218, allocations: 8 kB / 417.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.1221, allocations: 151.4 kB / 418 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1223, allocations: 0.6809 MB / 418.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.798e-06/0.1224, allocations: 0 / 418.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.1224, allocations: 11.56 kB / 418.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1224, allocations: 0 / 418.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of Templates: time 0.002359/0.1248, allocations: 499.3 kB / 419.2 MB, free: 12.04 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)