Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001642/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001782/0.001782, allocations: 193.9 kB / 16.14 MB, free: 6.688 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.41 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3387, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003712/0.3424, allocations: 2.189 MB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.3471, allocations: 3.778 MB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.665e-05/0.3472, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3475, allocations: 51.95 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.3479, allocations: 115.2 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3482, allocations: 127.8 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.3486, allocations: 294.8 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3487, allocations: 56.7 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.3489, allocations: 127.5 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3491, allocations: 127.4 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.3491, allocations: 12 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.3494, allocations: 131.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.3495, allocations: 51.8 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3496, allocations: 115.3 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.35, allocations: 334.8 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.35, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.02e-07/0.35, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.35, allocations: 0 / 1.075 GB, free: 3.355 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.0013/0.3513, allocations: 0.6308 MB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3513, allocations: 8.031 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.3523, allocations: 164.4 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.3531, allocations: 332.2 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3531, allocations: 12.5 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.3532, allocations: 15.94 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.3539, allocations: 222 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3539, allocations: 0 / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.3539, allocations: 3.984 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3539, allocations: 4 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.3549, allocations: 283.7 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3564, allocations: 0.5746 MB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.3569, allocations: 170.5 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.3574, allocations: 156.7 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009063/0.3584, allocations: 0.5455 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3584, allocations: 42.5 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.3584, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001743/0.3601, allocations: 480.8 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3602, allocations: 59.41 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3605, allocations: 264.5 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.3605, allocations: 33.7 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.3606, allocations: 148 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.3607, allocations: 51.28 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3608, allocations: 37.69 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.361, allocations: 346.7 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.3615, allocations: 147.9 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.362, allocations: 147.8 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.363, allocations: 290.2 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.363, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001159/0.3642, allocations: 362.3 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3642, allocations: 8 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3642, allocations: 4 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3643, allocations: 0 / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.3648, allocations: 79.78 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3648, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3651, allocations: 43.8 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3652, allocations: 11.98 kB / 1.08 GB, free: 13.42 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 (17): * Single equations (assignments): 17 * 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 0.0001343/0.3653, allocations: 125.8 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.3654, allocations: 27.62 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.3666, allocations: 383.5 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3666, allocations: 0 / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3666, allocations: 4 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3666, allocations: 3.938 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.367, allocations: 305.4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.367, allocations: 0 / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3674, allocations: 63.91 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3674, allocations: 4 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.3674, allocations: 4 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3674, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3674, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.3686, allocations: 462.3 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3687, allocations: 112.8 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3688, allocations: 4 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.3691, allocations: 43.94 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.3692, allocations: 15.97 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3692, allocations: 7.938 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002222/0.3695, allocations: 187.1 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3695, allocations: 0 / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003638/0.3698, allocations: 67.92 kB / 1.082 GB, free: 11.54 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.0002544/0.3701, allocations: 135.2 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.3712, allocations: 319.6 kB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3712, allocations: 4 kB / 1.082 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.3718, allocations: 167.8 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.3723, allocations: 36.72 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3735, allocations: 0.5591 MB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3738, allocations: 0.7516 MB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000255/0.3741, allocations: 49.38 kB / 1.084 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3742, allocations: 23.42 kB / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3742, allocations: 0 / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of Templates: time 0.006577/0.3808, allocations: 2.938 MB / 1.087 GB, free: 6.547 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)