Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 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.001699/0.001699, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.649/1.649, allocations: 251.7 MB / 0.5092 GB, free: 3.074 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.001445/0.001445, allocations: 63.91 kB / 0.6223 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5115, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003367/0.5149, allocations: 1.909 MB / 0.7264 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003829/0.5188, allocations: 3.465 MB / 0.7298 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.5189, allocations: 0 / 0.7298 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.5191, allocations: 51.62 kB / 0.7298 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.5196, allocations: 135.2 kB / 0.7299 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.521e-05/0.5197, allocations: 19.97 kB / 0.73 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.5199, allocations: 167.2 kB / 0.7301 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.52, allocations: 33.66 kB / 0.7301 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.5202, allocations: 87.62 kB / 0.7302 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.5203, allocations: 79.62 kB / 0.7303 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.5204, allocations: 8 kB / 0.7303 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.5205, allocations: 27.92 kB / 0.7303 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.5205, allocations: 39.83 kB / 0.7304 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.5206, allocations: 71.55 kB / 0.7304 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.5209, allocations: 163.4 kB / 0.7306 GB, free: 6.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5209, allocations: 4 kB / 0.7306 GB, free: 6.633 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5209, allocations: 0 / 0.7306 GB, free: 6.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.5209, allocations: 0 / 0.7306 GB, free: 6.633 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008122/0.5217, allocations: 0.4944 MB / 0.7311 GB, free: 6.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5217, allocations: 8.031 kB / 0.7311 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.5218, allocations: 20.75 kB / 0.7311 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.5221, allocations: 246.8 kB / 0.7314 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5222, allocations: 4.375 kB / 0.7314 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.5222, allocations: 4.375 kB / 0.7314 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.5225, allocations: 141.7 kB / 0.7315 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5225, allocations: 0 / 0.7315 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5225, allocations: 0 / 0.7315 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.5226, allocations: 12 kB / 0.7315 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.523, allocations: 139.7 kB / 0.7316 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.5237, allocations: 448.5 kB / 0.7321 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.5241, allocations: 158.5 kB / 0.7322 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.5243, allocations: 100.8 kB / 0.7323 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.5243, allocations: 11.92 kB / 0.7323 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.5244, allocations: 38.55 kB / 0.7324 GB, free: 4.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.5244, allocations: 0 / 0.7324 GB, free: 4.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0008039/0.5252, allocations: 269.5 kB / 0.7326 GB, free: 4.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.5252, allocations: 55.41 kB / 0.7327 GB, free: 4.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.5254, allocations: 213 kB / 0.7329 GB, free: 4.113 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5255, allocations: 25.7 kB / 0.7329 GB, free: 4.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.5255, allocations: 120 kB / 0.733 GB, free: 3.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.5256, allocations: 43.39 kB / 0.7331 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.5257, allocations: 33.89 kB / 0.7331 GB, free: 3.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5258, allocations: 334.8 kB / 0.7334 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.526, allocations: 75.92 kB / 0.7335 GB, free: 3.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.5262, allocations: 76.5 kB / 0.7336 GB, free: 3.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.5267, allocations: 158.9 kB / 0.7337 GB, free: 3.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5267, allocations: 0 / 0.7337 GB, free: 3.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004984/0.5273, allocations: 209.3 kB / 0.7339 GB, free: 3.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5273, allocations: 6.031 kB / 0.7339 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5273, allocations: 0 / 0.7339 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5273, allocations: 4 kB / 0.7339 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.5275, allocations: 35.91 kB / 0.734 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5276, allocations: 0 / 0.734 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.5277, allocations: 15.97 kB / 0.734 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.5277, allocations: 15.97 kB / 0.734 GB, free: 2.953 MB / 0.545 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 0.0001411/0.5279, allocations: 133.8 kB / 0.7341 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.5279, allocations: 23.66 kB / 0.7341 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.528, allocations: 21.84 kB / 0.7342 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.528, allocations: 4 kB / 0.7342 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.528, allocations: 4 kB / 0.7342 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.528, allocations: 3.984 kB / 0.7342 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.5283, allocations: 257.5 kB / 0.7344 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5283, allocations: 0 / 0.7344 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.5285, allocations: 43.89 kB / 0.7345 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5285, allocations: 0 / 0.7345 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5285, allocations: 8 kB / 0.7345 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5286, allocations: 0 / 0.7345 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5286, allocations: 0 / 0.7345 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.5291, allocations: 308.8 kB / 0.7348 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.5292, allocations: 116.8 kB / 0.7349 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.5293, allocations: 0 / 0.7349 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.5294, allocations: 11.98 kB / 0.7349 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.5295, allocations: 11.98 kB / 0.7349 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5295, allocations: 7.984 kB / 0.7349 GB, free: 1.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001279/0.5296, allocations: 148.5 kB / 0.735 GB, free: 1.773 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5297, allocations: 0 / 0.735 GB, free: 1.773 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002649/0.5299, allocations: 43.94 kB / 0.7351 GB, free: 1.73 MB / 0.545 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.0001765/0.5301, allocations: 115.1 kB / 0.7352 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.5306, allocations: 179.8 kB / 0.7354 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5307, allocations: 4 kB / 0.7354 GB, free: 1.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.5309, allocations: 91.92 kB / 0.7355 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.5314, allocations: 34.36 kB / 0.7355 GB, free: 1.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.5322, allocations: 414.1 kB / 0.7359 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.5326, allocations: 0.7274 MB / 0.7366 GB, free: 132 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.5328, allocations: 40.61 kB / 0.7366 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.5329, allocations: 27.42 kB / 0.7367 GB, free: 64 kB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5329, allocations: 0 / 0.7367 GB, free: 64 kB / 0.545 GB Notification: Performance of Templates: time 0.00511/0.538, allocations: 1.696 MB / 0.7383 GB, free: 14.39 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)