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.001228/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001114/0.001114, allocations: 191.5 kB / 16.13 MB, free: 6.664 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1069/0.1069, allocations: 24.83 MB / 294.2 MB, free: 12.57 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.001424/0.001424, allocations: 66.06 kB / 357.2 MB, free: 8.535 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 52.28 MB / 409.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002822/0.1134, allocations: 1.629 MB / 411.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1146, allocations: 0.6598 MB / 411.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.1146, allocations: 0 / 411.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/0.1147, allocations: 4 kB / 411.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.1147, allocations: 7.922 kB / 411.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.115, allocations: 59.81 kB / 411.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.1151, allocations: 35.78 kB / 411.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.1152, allocations: 4 kB / 411.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.568e-05/0.1152, allocations: 4 kB / 411.9 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.1152, allocations: 7.938 kB / 411.9 MB, free: 1.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1153, allocations: 4 kB / 411.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.1155, allocations: 71.92 kB / 412 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1155, allocations: 7.984 kB / 412 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1155, allocations: 11.94 kB / 412 MB, free: 1.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1157, allocations: 72.02 kB / 412.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1157, allocations: 0 / 412.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1157, allocations: 0 / 412.1 MB, free: 1.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1157, allocations: 0 / 412.1 MB, free: 1.609 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.0003492/0.1161, allocations: 343.4 kB / 412.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1161, allocations: 12.03 kB / 412.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1161, allocations: 8.781 kB / 412.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1163, allocations: 172.3 kB / 412.6 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1163, allocations: 8.359 kB / 412.6 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.1163, allocations: 384 / 412.6 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1164, allocations: 51.73 kB / 412.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1164, allocations: 3.984 kB / 412.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1165, allocations: 0 / 412.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1165, allocations: 0 / 412.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.1165, allocations: 11.94 kB / 412.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1169, allocations: 333.1 kB / 413 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.117, allocations: 45.09 kB / 413 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.117, allocations: 17.83 kB / 413.1 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/0.1175, allocations: 214.2 kB / 413.3 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1175, allocations: 34.56 kB / 413.3 MB, free: 164 kB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1175, allocations: 3.938 kB / 413.3 MB, free: 160 kB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000187/0.1177, allocations: 49.59 kB / 413.4 MB, free: 104 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.1178, allocations: 89.34 kB / 413.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.1179, allocations: 97.86 kB / 413.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1179, allocations: 25.7 kB / 413.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.1179, allocations: 88.12 kB / 413.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.118, allocations: 11.81 kB / 413.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.118, allocations: 13.72 kB / 413.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1181, allocations: 318.8 kB / 414 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.1181, allocations: 3.984 kB / 414 MB, free: 15.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.1182, allocations: 17.72 kB / 414 MB, free: 15.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.1182, allocations: 21.72 kB / 414 MB, free: 15.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1182, allocations: 0 / 414 MB, free: 15.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.957e-05/0.1183, allocations: 49.88 kB / 414.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1183, allocations: 6.969 kB / 414.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1183, allocations: 4 kB / 414.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1183, allocations: 96 / 414.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.381e-05/0.1184, allocations: 11.94 kB / 414.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1184, allocations: 0 / 414.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1184, allocations: 7.938 kB / 414.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1184, allocations: 0 / 414.1 MB, free: 15.28 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 7.678e-05/0.1185, allocations: 121.7 kB / 414.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.1186, allocations: 3.906 kB / 414.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.1187, allocations: 48.8 kB / 414.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1187, allocations: 32 / 414.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1187, allocations: 8 kB / 414.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1187, allocations: 0 / 414.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.119, allocations: 270.5 kB / 414.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.119, allocations: 7.938 kB / 414.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.119, allocations: 0 / 414.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.119, allocations: 0 / 414.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.119, allocations: 4 kB / 414.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.119, allocations: 0 / 414.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.119, allocations: 0 / 414.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1192, allocations: 218.8 kB / 414.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1192, allocations: 81.11 kB / 414.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1192, allocations: 4 kB / 414.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.1193, allocations: 3.938 kB / 414.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.1193, allocations: 7.922 kB / 414.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1193, allocations: 0 / 414.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.1194, allocations: 83.31 kB / 414.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1194, allocations: 0 / 414.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1196, allocations: 20 kB / 415 MB, free: 14.31 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.0001618/0.1198, allocations: 131.1 kB / 415.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.982e-05/0.1199, allocations: 33.7 kB / 415.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1199, allocations: 0 / 415.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.12, allocations: 37.64 kB / 415.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1202, allocations: 12.23 kB / 415.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.1206, allocations: 145.7 kB / 415.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.121, allocations: 0.677 MB / 416 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.121, allocations: 0 / 416 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.121, allocations: 11.44 kB / 416 MB, free: 13.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.121, allocations: 4 kB / 416 MB, free: 13.19 MB / 318.1 MB Notification: Performance of Templates: time 0.002528/0.1235, allocations: 0.5003 MB / 416.5 MB, free: 12.7 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)