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.001209/0.001209, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001227/0.001227, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.387/1.387, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1136/0.1136, allocations: 24.84 MB / 294.9 MB, free: 12.52 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.001555/0.001555, allocations: 64.25 kB / 358.1 MB, free: 8.418 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.0962, allocations: 52.29 MB / 410.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003186/0.09943, allocations: 1.629 MB / 412 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1005, allocations: 0.6558 MB / 412.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.1006, allocations: 0 / 412.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.1006, allocations: 4 kB / 412.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.1007, allocations: 7.922 kB / 412.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1011, allocations: 63.8 kB / 412.7 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.1012, allocations: 23.81 kB / 412.7 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.1012, allocations: 8 kB / 412.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.1012, allocations: 15.97 kB / 412.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.8e-05/0.1013, allocations: 7.938 kB / 412.8 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1013, allocations: 0 / 412.8 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1015, allocations: 75.86 kB / 412.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.1015, allocations: 0 / 412.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1016, allocations: 19.86 kB / 412.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1017, allocations: 44.17 kB / 412.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1017, allocations: 0 / 412.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1017, allocations: 0 / 412.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1017, allocations: 0 / 412.9 MB, free: 1.516 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.0003592/0.1021, allocations: 347.4 kB / 413.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1022, allocations: 12.03 kB / 413.2 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1022, allocations: 4.844 kB / 413.2 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1023, allocations: 168.3 kB / 413.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1023, allocations: 4.375 kB / 413.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1023, allocations: 384 / 413.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1025, allocations: 55.72 kB / 413.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1025, allocations: 4 kB / 413.5 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1025, allocations: 3.938 kB / 413.5 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1025, allocations: 3.984 kB / 413.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.1025, allocations: 8 kB / 413.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.103, allocations: 333.1 kB / 413.8 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.1031, allocations: 45.09 kB / 413.9 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.1031, allocations: 17.84 kB / 413.9 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.1036, allocations: 210.2 kB / 414.1 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1036, allocations: 38.5 kB / 414.1 MB, free: 68 kB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1036, allocations: 4 kB / 414.1 MB, free: 64 kB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001848/0.1038, allocations: 45.61 kB / 414.2 MB, free: 12 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1039, allocations: 81.05 kB / 414.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.104, allocations: 105.8 kB / 414.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.104, allocations: 25.7 kB / 414.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.104, allocations: 84.14 kB / 414.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.1041, allocations: 15.8 kB / 414.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1041, allocations: 17.91 kB / 414.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.1042, allocations: 326.7 kB / 414.8 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.1042, allocations: 0 / 414.8 MB, free: 15.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.1042, allocations: 13.72 kB / 414.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.1043, allocations: 25.7 kB / 414.8 MB, free: 15.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1043, allocations: 0 / 414.8 MB, free: 15.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.538e-05/0.1044, allocations: 49.67 kB / 414.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1044, allocations: 4 kB / 414.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1044, allocations: 0 / 414.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1044, allocations: 4 kB / 414.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-05/0.1045, allocations: 3.984 kB / 414.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1045, allocations: 0 / 414.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.1045, allocations: 7.938 kB / 414.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1045, allocations: 256 / 414.9 MB, free: 15.19 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 9.527e-05/0.1046, allocations: 117.8 kB / 415 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.1047, allocations: 11.91 kB / 415 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.831e-05/0.1048, allocations: 40.81 kB / 415.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1048, allocations: 4 kB / 415.1 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1048, allocations: 0 / 415.1 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1048, allocations: 4 kB / 415.1 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.105, allocations: 270.5 kB / 415.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1051, allocations: 7.984 kB / 415.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-06/0.1051, allocations: 4.062 kB / 415.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1051, allocations: 0 / 415.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1051, allocations: 0 / 415.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1051, allocations: 4 kB / 415.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1051, allocations: 0 / 415.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.1052, allocations: 214.8 kB / 415.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.1053, allocations: 81.05 kB / 415.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1053, allocations: 4.031 kB / 415.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.1054, allocations: 8 kB / 415.7 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1054, allocations: 3.938 kB / 415.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.1054, allocations: 0 / 415.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.656e-05/0.1055, allocations: 83.27 kB / 415.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1055, allocations: 0 / 415.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1058, allocations: 20 kB / 415.8 MB, free: 14.22 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.0001914/0.106, allocations: 127.1 kB / 415.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1061, allocations: 45.69 kB / 415.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1061, allocations: 0 / 415.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.1061, allocations: 37.64 kB / 416 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1064, allocations: 4 kB / 416 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.1067, allocations: 174 kB / 416.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.107, allocations: 0.6805 MB / 416.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1071, allocations: 11.44 kB / 416.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1071, allocations: 0 / 416.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of Templates: time 0.002015/0.1091, allocations: 0.7343 MB / 417.6 MB, free: 12.33 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)