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.001681/0.001681, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001737/0.001737, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1775/0.1775, allocations: 24.83 MB / 295.4 MB, free: 3.16 MB / 238.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.001385/0.001385, allocations: 69.8 kB / 413 MB, free: 33.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09327, allocations: 52.29 MB / 465.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002581/0.0959, allocations: 1.566 MB / 466.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.09697, allocations: 0.6638 MB / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.09701, allocations: 4 kB / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.09705, allocations: 0 / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.09712, allocations: 3.938 kB / 467.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.0975, allocations: 75.66 kB / 467.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.09757, allocations: 35.8 kB / 467.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.09762, allocations: 4 kB / 467.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.09765, allocations: 8 kB / 467.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.09768, allocations: 11.92 kB / 467.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.0977, allocations: 0 / 467.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.09794, allocations: 67.92 kB / 467.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.09797, allocations: 3.984 kB / 467.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.098, allocations: 15.88 kB / 467.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.09816, allocations: 71.73 kB / 467.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.09818, allocations: 8 kB / 467.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09818, allocations: 0 / 467.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.09819, allocations: 0 / 467.8 MB, free: 10.63 MB / 350.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.0003722/0.09857, allocations: 335.4 kB / 468.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.09862, allocations: 15.95 kB / 468.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.09866, allocations: 8.938 kB / 468.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.09879, allocations: 168.2 kB / 468.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.09881, allocations: 384 / 468.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.09882, allocations: 4.375 kB / 468.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.09895, allocations: 55.72 kB / 468.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.09896, allocations: 0 / 468.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.09898, allocations: 7.938 kB / 468.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.09899, allocations: 0 / 468.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.09902, allocations: 4 kB / 468.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.0994, allocations: 333.1 kB / 468.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.09948, allocations: 53.14 kB / 468.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.09952, allocations: 25.78 kB / 468.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.1, allocations: 206.2 kB / 469 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1001, allocations: 38.5 kB / 469 MB, free: 9.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1001, allocations: 0 / 469 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001903/0.1003, allocations: 49.69 kB / 469.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1003, allocations: 81.05 kB / 469.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.1004, allocations: 101.8 kB / 469.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1004, allocations: 25.7 kB / 469.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.1005, allocations: 92.05 kB / 469.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-06/0.1005, allocations: 8.094 kB / 469.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.1005, allocations: 17.72 kB / 469.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1007, allocations: 322.8 kB / 469.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.1007, allocations: 4 kB / 469.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.1007, allocations: 17.7 kB / 469.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.1008, allocations: 17.72 kB / 469.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.1008, allocations: 8.031 kB / 469.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.166e-05/0.1009, allocations: 53.47 kB / 469.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1009, allocations: 8 kB / 469.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1009, allocations: 0 / 469.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1009, allocations: 0 / 469.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.101, allocations: 4 kB / 469.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.101, allocations: 0 / 469.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.101, allocations: 0 / 469.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.101, allocations: 4 kB / 469.8 MB, free: 8.305 MB / 350.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.466e-05/0.1011, allocations: 117.8 kB / 469.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1011, allocations: 0 / 469.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.053e-05/0.1012, allocations: 48.81 kB / 470 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1012, allocations: 0 / 470 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1013, allocations: 0 / 470 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1013, allocations: 0 / 470 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1015, allocations: 282.5 kB / 470.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1016, allocations: 0 / 470.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.1016, allocations: 8.062 kB / 470.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1016, allocations: 0 / 470.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1016, allocations: 0 / 470.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1016, allocations: 0 / 470.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1016, allocations: 0 / 470.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1018, allocations: 218.7 kB / 470.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.1018, allocations: 85.05 kB / 470.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1018, allocations: 8.266 kB / 470.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.1019, allocations: 8 kB / 470.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.1019, allocations: 7.938 kB / 470.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1019, allocations: 0 / 470.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.102, allocations: 79.28 kB / 470.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.102, allocations: 0 / 470.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1023, allocations: 23.94 kB / 470.7 MB, free: 7.332 MB / 350.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.0001851/0.1025, allocations: 123.2 kB / 470.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1026, allocations: 41.7 kB / 470.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1026, allocations: 0 / 470.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.1026, allocations: 45.62 kB / 470.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1029, allocations: 3.938 kB / 470.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.1033, allocations: 157.8 kB / 471 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1035, allocations: 0.6848 MB / 471.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.1035, allocations: 7.438 kB / 471.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1035, allocations: 0 / 471.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of Templates: time 0.002383/0.1059, allocations: 0.7383 MB / 472.5 MB, free: 5.449 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)