Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.53 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.359, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003788/0.3629, allocations: 2.173 MB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005297/0.3682, allocations: 4.089 MB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.3684, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.3692, allocations: 195.3 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.3695, allocations: 71.28 kB / 1.075 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.3704, allocations: 287.3 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007109/0.3711, allocations: 438.7 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3712, allocations: 52.72 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.3715, allocations: 135.5 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.3717, allocations: 155.3 kB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.3718, allocations: 20 kB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.3724, allocations: 319.5 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3725, allocations: 111.7 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3727, allocations: 170.9 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.3734, allocations: 0.5647 MB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3734, allocations: 4 kB / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3734, allocations: 0 / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.3735, allocations: 0 / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001618/0.3751, allocations: 0.7929 MB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3751, allocations: 8.031 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.3762, allocations: 184.2 kB / 1.078 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008327/0.377, allocations: 382.4 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.377, allocations: 12.55 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3771, allocations: 11.94 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.3778, allocations: 254.4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3779, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.3779, allocations: 3.938 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3779, allocations: 4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.379, allocations: 333.9 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3805, allocations: 0.6954 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.3811, allocations: 218.4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.3817, allocations: 177 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.3818, allocations: 27.98 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3818, allocations: 30.56 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.3818, allocations: 0 / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001908/0.3837, allocations: 0.5666 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3838, allocations: 55.41 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.3843, allocations: 433.8 kB / 1.081 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3843, allocations: 29.7 kB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3845, allocations: 188.5 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.3845, allocations: 43.34 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3847, allocations: 57.67 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3848, allocations: 354.7 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.3855, allocations: 288 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.3862, allocations: 296.3 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3875, allocations: 0.5136 MB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3876, allocations: 0 / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001514/0.3891, allocations: 0.7263 MB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.3891, allocations: 43.41 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3892, allocations: 0 / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3892, allocations: 0 / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.3897, allocations: 63.92 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3897, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3901, allocations: 63.66 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.3901, allocations: 8 kB / 1.083 GB, free: 10.66 MB / 0.8419 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001869/0.3903, allocations: 166.3 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.3904, allocations: 35.53 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3918, allocations: 436.8 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3918, allocations: 4 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3918, allocations: 0 / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3918, allocations: 3.938 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.3923, allocations: 373.2 kB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3923, allocations: 4 kB / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.3927, allocations: 63.91 kB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3927, allocations: 0 / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3928, allocations: 4 kB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3928, allocations: 0 / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3928, allocations: 0 / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3941, allocations: 0.5027 MB / 1.085 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.3942, allocations: 136.5 kB / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.3943, allocations: 7.938 kB / 1.085 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.3947, allocations: 39.94 kB / 1.085 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.3948, allocations: 15.97 kB / 1.085 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3948, allocations: 11.92 kB / 1.085 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003235/0.3952, allocations: 311.1 kB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3952, allocations: 0 / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005141/0.3957, allocations: 124 kB / 1.085 GB, free: 8.355 MB / 0.8419 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.0004095/0.3961, allocations: 171.2 kB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.3977, allocations: 0.6864 MB / 1.086 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3977, allocations: 0 / 1.086 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.3983, allocations: 191.8 kB / 1.086 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.3989, allocations: 63.11 kB / 1.087 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4004, allocations: 0.6985 MB / 1.087 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.4008, allocations: 0.7983 MB / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003185/0.4011, allocations: 57.91 kB / 1.088 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.4013, allocations: 35.42 kB / 1.088 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of SimCode: time 7.91e-07/0.4013, allocations: 3.938 kB / 1.088 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01094/0.4122, allocations: 5.45 MB / 1.093 GB, free: 188 kB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)