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.00124/0.00124, allocations: 99.16 kB / 16.29 MB, free: 6.43 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.00116/0.00116, allocations: 183.2 kB / 17.22 MB, free: 5.934 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.453/1.453, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.774/1.774, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001438/0.001438, allocations: 67.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2454, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003106/0.2486, allocations: 1.917 MB / 0.7859 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4016/0.6503, allocations: 3.444 MB / 0.7893 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.6504, allocations: 2.625 kB / 0.7893 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.6507, allocations: 53.22 kB / 0.7894 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.6511, allocations: 127.8 kB / 0.7895 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.853e-05/0.6512, allocations: 28.97 kB / 0.7895 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.6514, allocations: 174 kB / 0.7897 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.6515, allocations: 29.61 kB / 0.7897 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.6516, allocations: 86.28 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.6518, allocations: 83.33 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.6518, allocations: 8.875 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.6519, allocations: 36.5 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.652, allocations: 38.59 kB / 0.7899 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.652, allocations: 78.47 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.6522, allocations: 171.4 kB / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6522, allocations: 2.625 kB / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6522, allocations: 0 / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.6522, allocations: 0.5938 kB / 0.7902 GB, free: 45.79 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.0007387/0.653, allocations: 0.508 MB / 0.7907 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.653, allocations: 8.406 kB / 0.7907 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.6531, allocations: 23.19 kB / 0.7907 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.6534, allocations: 248 kB / 0.791 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.6534, allocations: 3 kB / 0.791 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.6534, allocations: 3.844 kB / 0.791 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.6537, allocations: 147.5 kB / 0.7911 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6537, allocations: 0 / 0.7911 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6538, allocations: 3.359 kB / 0.7911 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.6538, allocations: 8.219 kB / 0.7911 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.6542, allocations: 151.8 kB / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.6547, allocations: 451.8 kB / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.6551, allocations: 167.2 kB / 0.7918 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.6553, allocations: 109.9 kB / 0.7919 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.6553, allocations: 5.922 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.6553, allocations: 33.91 kB / 0.792 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.6554, allocations: 0 / 0.792 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0006937/0.6561, allocations: 290.6 kB / 0.7923 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.6561, allocations: 60.52 kB / 0.7923 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.6563, allocations: 213.4 kB / 0.7925 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6563, allocations: 26.64 kB / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.6563, allocations: 125.6 kB / 0.7927 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.6564, allocations: 44.56 kB / 0.7927 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.6564, allocations: 30.16 kB / 0.7927 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.6565, allocations: 331 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.6567, allocations: 75.62 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.6569, allocations: 78.36 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.6573, allocations: 166.2 kB / 0.7934 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6573, allocations: 0 / 0.7934 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004212/0.6577, allocations: 221.9 kB / 0.7936 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6577, allocations: 8.219 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6577, allocations: 1.969 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6578, allocations: 0.5312 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.658, allocations: 42.42 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.658, allocations: 3.312 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6582, allocations: 16.66 kB / 0.7936 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.6582, allocations: 3.375 kB / 0.7936 GB, free: 44.01 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.048e-05/0.6583, allocations: 129.8 kB / 0.7938 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.6583, allocations: 22.16 kB / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.6584, allocations: 26.59 kB / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6584, allocations: 3.5 kB / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6584, allocations: 0 / 0.7938 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6584, allocations: 6.859 kB / 0.7938 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.6586, allocations: 262.3 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6586, allocations: 0 / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.6588, allocations: 38.83 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6588, allocations: 0 / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6589, allocations: 5.203 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6589, allocations: 7.25 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6589, allocations: 0 / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.6593, allocations: 319 kB / 0.7944 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.6594, allocations: 113.2 kB / 0.7945 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.6595, allocations: 0.5625 kB / 0.7945 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.6596, allocations: 15.27 kB / 0.7946 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.6597, allocations: 16.75 kB / 0.7946 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.6597, allocations: 7.188 kB / 0.7946 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.582e-05/0.6598, allocations: 155.2 kB / 0.7947 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6598, allocations: 3.469 kB / 0.7947 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002596/0.6601, allocations: 34.25 kB / 0.7948 GB, free: 43.34 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.0001437/0.6602, allocations: 110.6 kB / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.6607, allocations: 180.6 kB / 0.795 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.6607, allocations: 0 / 0.795 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.6609, allocations: 96.36 kB / 0.7951 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.6613, allocations: 32.2 kB / 0.7952 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.662, allocations: 424.3 kB / 0.7956 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.6622, allocations: 0.7371 MB / 0.7963 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.6623, allocations: 48.27 kB / 0.7963 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.6624, allocations: 24.03 kB / 0.7964 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6624, allocations: 0 / 0.7964 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.004227/0.6666, allocations: 1.815 MB / 0.7981 GB, free: 42.25 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)