Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001255/0.001255, allocations: 196.2 kB / 16.26 MB, free: 6.621 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.56/1.56, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 251.6 MB / 0.5089 GB, free: 3.281 MB / 414.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.001468/0.001468, allocations: 67.91 kB / 0.6217 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5253, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004428/0.5298, allocations: 2.193 MB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005054/0.5349, allocations: 3.773 MB / 0.7298 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.5351, allocations: 0 / 0.7298 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.5355, allocations: 47.69 kB / 0.7299 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.536, allocations: 111.2 kB / 0.73 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.5363, allocations: 131.7 kB / 0.7301 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.5367, allocations: 310.9 kB / 0.7304 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.5369, allocations: 56.72 kB / 0.7304 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.5371, allocations: 131.5 kB / 0.7306 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.5373, allocations: 151.3 kB / 0.7307 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.5373, allocations: 23.94 kB / 0.7307 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.5376, allocations: 131.8 kB / 0.7309 GB, free: 6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.5376, allocations: 55.77 kB / 0.7309 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.5378, allocations: 123.3 kB / 0.731 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.5382, allocations: 334.9 kB / 0.7314 GB, free: 5.496 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5382, allocations: 0 / 0.7314 GB, free: 5.496 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5382, allocations: 0 / 0.7314 GB, free: 5.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5382, allocations: 0 / 0.7314 GB, free: 5.496 MB / 0.545 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.001225/0.5394, allocations: 0.6269 MB / 0.732 GB, free: 4.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5395, allocations: 12.03 kB / 0.732 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.5404, allocations: 168.4 kB / 0.7321 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.5411, allocations: 328.2 kB / 0.7325 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.5412, allocations: 8.562 kB / 0.7325 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.5412, allocations: 11.94 kB / 0.7325 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.5419, allocations: 222 kB / 0.7327 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5419, allocations: 0 / 0.7327 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.5419, allocations: 4 kB / 0.7327 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5419, allocations: 4 kB / 0.7327 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009355/0.5429, allocations: 287.6 kB / 0.733 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.5441, allocations: 0.5745 MB / 0.7335 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.5447, allocations: 174.4 kB / 0.7337 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004822/0.5452, allocations: 160.7 kB / 0.7338 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/0.5461, allocations: 0.5493 MB / 0.7344 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.5461, allocations: 30.56 kB / 0.7344 GB, free: 2.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.5461, allocations: 8 kB / 0.7344 GB, free: 2.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001612/0.5477, allocations: 485.2 kB / 0.7349 GB, free: 1.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5478, allocations: 59.41 kB / 0.7349 GB, free: 1.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.548, allocations: 264.5 kB / 0.7352 GB, free: 1.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.5481, allocations: 29.7 kB / 0.7352 GB, free: 1.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.5482, allocations: 155.9 kB / 0.7354 GB, free: 1.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.5482, allocations: 35.45 kB / 0.7354 GB, free: 1.039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5484, allocations: 37.7 kB / 0.7354 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5485, allocations: 346.7 kB / 0.7358 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.549, allocations: 147.9 kB / 0.7359 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.5495, allocations: 151.8 kB / 0.7361 GB, free: 364 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.5505, allocations: 290.5 kB / 0.7363 GB, free: 72 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5505, allocations: 0 / 0.7363 GB, free: 72 kB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001092/0.5516, allocations: 365 kB / 0.7367 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5516, allocations: 8 kB / 0.7367 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5516, allocations: 4 kB / 0.7367 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5516, allocations: 0 / 0.7367 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.5521, allocations: 67.91 kB / 0.7368 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5521, allocations: 0 / 0.7368 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.5524, allocations: 51.73 kB / 0.7368 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.5525, allocations: 7.984 kB / 0.7368 GB, free: 15.57 MB / 0.5606 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.0001515/0.5526, allocations: 133.8 kB / 0.7369 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.5527, allocations: 19.72 kB / 0.737 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.5539, allocations: 387.3 kB / 0.7373 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5539, allocations: 0 / 0.7373 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5539, allocations: 0 / 0.7373 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5539, allocations: 7.938 kB / 0.7373 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.5542, allocations: 305.3 kB / 0.7376 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5542, allocations: 0 / 0.7376 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.5546, allocations: 59.86 kB / 0.7377 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5546, allocations: 4 kB / 0.7377 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.5547, allocations: 11.98 kB / 0.7377 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5547, allocations: 0 / 0.7377 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5547, allocations: 0 / 0.7377 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5557, allocations: 443.7 kB / 0.7381 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5558, allocations: 116.7 kB / 0.7382 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.5559, allocations: 4 kB / 0.7382 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.5562, allocations: 43.94 kB / 0.7383 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.5563, allocations: 15.98 kB / 0.7383 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.5563, allocations: 15.86 kB / 0.7383 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001561/0.5565, allocations: 187.1 kB / 0.7385 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5565, allocations: 0 / 0.7385 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003534/0.5569, allocations: 71.84 kB / 0.7386 GB, free: 13.68 MB / 0.5606 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.0002444/0.5571, allocations: 143.1 kB / 0.7387 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.5582, allocations: 329.7 kB / 0.739 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5582, allocations: 0 / 0.739 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.5587, allocations: 170.3 kB / 0.7392 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.5591, allocations: 33.2 kB / 0.7392 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.5603, allocations: 0.5603 MB / 0.7397 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.5607, allocations: 0.7435 MB / 0.7405 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000252/0.5609, allocations: 49.38 kB / 0.7405 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.561, allocations: 23.42 kB / 0.7405 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.561, allocations: 0 / 0.7405 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.006063/0.5671, allocations: 3.048 MB / 0.7435 GB, free: 8.578 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)