Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 104.7 kB / 16.36 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.001605/0.001605, allocations: 192.4 kB / 17.3 MB, free: 5.891 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.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.34 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.001432/0.001432, allocations: 79.02 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003571/0.2678, allocations: 1.912 MB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4875/0.7554, allocations: 3.442 MB / 0.79 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.7556, allocations: 3.469 kB / 0.79 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.7559, allocations: 50.91 kB / 0.7901 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.7564, allocations: 129 kB / 0.7902 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.307e-05/0.7565, allocations: 26.61 kB / 0.7902 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.7568, allocations: 168.9 kB / 0.7904 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.7569, allocations: 28.09 kB / 0.7904 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.7571, allocations: 81 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.7572, allocations: 85.86 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.7573, allocations: 8.469 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.7574, allocations: 28.36 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.7575, allocations: 33.95 kB / 0.7906 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.7575, allocations: 82.53 kB / 0.7907 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.7578, allocations: 161.5 kB / 0.7909 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7578, allocations: 5.844 kB / 0.7909 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7578, allocations: 0 / 0.7909 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7578, allocations: 0 / 0.7909 GB, free: 46.87 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.0007865/0.7586, allocations: 0.5025 MB / 0.7913 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.7586, allocations: 10.03 kB / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.7587, allocations: 17.19 kB / 0.7914 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.759, allocations: 245.8 kB / 0.7916 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.759, allocations: 6.781 kB / 0.7916 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.7591, allocations: 2.812 kB / 0.7916 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.7594, allocations: 138.6 kB / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7594, allocations: 0 / 0.7917 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.7594, allocations: 2.906 kB / 0.7918 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.7595, allocations: 8.953 kB / 0.7918 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.7599, allocations: 136.2 kB / 0.7919 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.7605, allocations: 451.4 kB / 0.7923 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.7609, allocations: 161.8 kB / 0.7925 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.7611, allocations: 100.3 kB / 0.7926 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.7611, allocations: 7.391 kB / 0.7926 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.7612, allocations: 38.11 kB / 0.7926 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.7612, allocations: 0.75 kB / 0.7926 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007724/0.762, allocations: 280.5 kB / 0.7929 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.762, allocations: 54.03 kB / 0.7929 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.7622, allocations: 211.9 kB / 0.7931 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.7622, allocations: 29.52 kB / 0.7932 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.7623, allocations: 118 kB / 0.7933 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.7623, allocations: 39.56 kB / 0.7933 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.7624, allocations: 31.88 kB / 0.7933 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.7625, allocations: 340.4 kB / 0.7937 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.7627, allocations: 77.03 kB / 0.7937 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.7629, allocations: 73.53 kB / 0.7938 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.7633, allocations: 155.6 kB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7633, allocations: 3.312 kB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004569/0.7637, allocations: 204.1 kB / 0.7942 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7638, allocations: 3.469 kB / 0.7942 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7638, allocations: 3.438 kB / 0.7942 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7638, allocations: 0 / 0.7942 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.764, allocations: 38.36 kB / 0.7942 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.764, allocations: 0 / 0.7942 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.7642, allocations: 24.3 kB / 0.7942 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.7642, allocations: 6.781 kB / 0.7942 GB, free: 45.08 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 9.09e-05/0.7643, allocations: 134.1 kB / 0.7944 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.7643, allocations: 14.78 kB / 0.7944 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.7644, allocations: 27.78 kB / 0.7944 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7644, allocations: 0 / 0.7944 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7644, allocations: 0 / 0.7944 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7644, allocations: 2.25 kB / 0.7944 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.7647, allocations: 265.6 kB / 0.7947 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7647, allocations: 0 / 0.7947 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.7649, allocations: 44.72 kB / 0.7947 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7649, allocations: 3.469 kB / 0.7947 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.7649, allocations: 3.812 kB / 0.7947 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7649, allocations: 0 / 0.7947 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7649, allocations: 2.625 kB / 0.7947 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.7654, allocations: 309 kB / 0.795 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.7655, allocations: 113.3 kB / 0.7951 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.7655, allocations: 2.875 kB / 0.7951 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.7657, allocations: 13.58 kB / 0.7951 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.7658, allocations: 16.84 kB / 0.7951 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.7658, allocations: 3.344 kB / 0.7951 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.388e-05/0.7659, allocations: 156.5 kB / 0.7953 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7659, allocations: 0 / 0.7953 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002595/0.7662, allocations: 34.84 kB / 0.7953 GB, free: 44.41 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.0001522/0.7663, allocations: 115.4 kB / 0.7954 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.7668, allocations: 169.9 kB / 0.7956 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7668, allocations: 3.5 kB / 0.7956 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.7671, allocations: 87.44 kB / 0.7957 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.7675, allocations: 26.31 kB / 0.7957 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.7682, allocations: 442.7 kB / 0.7961 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.7684, allocations: 0.7305 MB / 0.7968 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.7685, allocations: 25.47 kB / 0.7969 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.7685, allocations: 0 / 0.7969 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.004222/0.7727, allocations: 2.226 MB / 0.799 GB, free: 43.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)