Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 103.4 kB / 16.36 MB, free: 5.941 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.00106/0.00106, allocations: 196.5 kB / 17.3 MB, free: 5.562 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.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.00142/0.00142, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2132, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00301/0.2162, allocations: 1.916 MB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.361/0.5772, allocations: 3.447 MB / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.5774, allocations: 0 / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.5777, allocations: 56.36 kB / 0.7901 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.5781, allocations: 127.8 kB / 0.7902 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.748e-05/0.5782, allocations: 31.03 kB / 0.7902 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.5784, allocations: 172.6 kB / 0.7904 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.5785, allocations: 30.34 kB / 0.7904 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.5786, allocations: 86.2 kB / 0.7905 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.5788, allocations: 86.67 kB / 0.7906 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.5788, allocations: 11.38 kB / 0.7906 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.5789, allocations: 26.81 kB / 0.7906 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.579, allocations: 43 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.5791, allocations: 75.48 kB / 0.7907 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.5792, allocations: 171.1 kB / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5793, allocations: 0 / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5793, allocations: 0 / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.5793, allocations: 1.938 kB / 0.7909 GB, free: 46.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007732/0.5801, allocations: 0.5097 MB / 0.7914 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5801, allocations: 8.156 kB / 0.7914 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.5802, allocations: 19.38 kB / 0.7914 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.5805, allocations: 244.1 kB / 0.7917 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5805, allocations: 6.25 kB / 0.7917 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.5805, allocations: 6.188 kB / 0.7917 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.5809, allocations: 143.7 kB / 0.7918 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5809, allocations: 0 / 0.7918 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5809, allocations: 6.469 kB / 0.7918 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.5809, allocations: 7.875 kB / 0.7918 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.5813, allocations: 153.6 kB / 0.792 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.5819, allocations: 456.3 kB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.5823, allocations: 172.7 kB / 0.7926 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.5825, allocations: 110.1 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5825, allocations: 2.375 kB / 0.7927 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5826, allocations: 33.22 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.5826, allocations: 0.625 kB / 0.7927 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007464/0.5833, allocations: 288.9 kB / 0.793 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.5834, allocations: 54.66 kB / 0.793 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.5835, allocations: 216.6 kB / 0.7932 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5835, allocations: 29.58 kB / 0.7933 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.5836, allocations: 120.7 kB / 0.7934 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.5836, allocations: 47.7 kB / 0.7934 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.5837, allocations: 29.64 kB / 0.7935 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.5838, allocations: 336.7 kB / 0.7938 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.584, allocations: 78.44 kB / 0.7939 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5842, allocations: 74.64 kB / 0.7939 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.5846, allocations: 162.1 kB / 0.7941 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5846, allocations: 0 / 0.7941 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004791/0.5851, allocations: 222.5 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5851, allocations: 6.312 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5851, allocations: 5.25 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5851, allocations: 0 / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.5854, allocations: 37.67 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5854, allocations: 0 / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5856, allocations: 11.91 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.5856, allocations: 8.375 kB / 0.7944 GB, free: 44.65 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.197e-05/0.5857, allocations: 133.2 kB / 0.7945 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.5857, allocations: 24.06 kB / 0.7945 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.5858, allocations: 24.84 kB / 0.7945 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5858, allocations: 0 / 0.7945 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5858, allocations: 2.5 kB / 0.7945 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.5858, allocations: 0 / 0.7945 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.586, allocations: 264.6 kB / 0.7948 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.586, allocations: 0 / 0.7948 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.5863, allocations: 42.27 kB / 0.7948 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5863, allocations: 0 / 0.7948 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5863, allocations: 9 kB / 0.7948 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5863, allocations: 6.656 kB / 0.7948 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5863, allocations: 0 / 0.7948 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.5868, allocations: 315.4 kB / 0.7951 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.5869, allocations: 114.1 kB / 0.7953 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.5869, allocations: 6.891 kB / 0.7953 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.5871, allocations: 12.7 kB / 0.7953 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.5872, allocations: 16.55 kB / 0.7953 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5872, allocations: 2.375 kB / 0.7953 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.5873, allocations: 160.5 kB / 0.7954 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5873, allocations: 0 / 0.7954 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002746/0.5876, allocations: 37.88 kB / 0.7955 GB, free: 43.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001297/0.5877, allocations: 115 kB / 0.7956 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.5882, allocations: 175 kB / 0.7958 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5882, allocations: 0 / 0.7958 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.5884, allocations: 100.3 kB / 0.7958 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.5889, allocations: 34.25 kB / 0.7959 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.5896, allocations: 427.2 kB / 0.7963 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.5897, allocations: 0.7298 MB / 0.797 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.5899, allocations: 45.81 kB / 0.797 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.5899, allocations: 21.69 kB / 0.7971 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5899, allocations: 0 / 0.7971 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.004143/0.5941, allocations: 1.821 MB / 0.7988 GB, free: 42.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)