Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 248.5 MB / 261.1 MB, free: 6.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.2 MB / 0.571 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 93.61 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.451e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.36, allocations: 355.2 MB / 1.238 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/1.36, allocations: 90.38 kB / 1.238 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03865/1.399, allocations: 9.206 MB / 1.247 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.864e-06/1.399, allocations: 0 / 1.247 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.891e-05/1.399, allocations: 4 kB / 1.247 GB, free: 3.84 MB / 0.8542 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.0009666/1.4, allocations: 458.3 kB / 1.247 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/1.4, allocations: 12.03 kB / 1.247 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.031e-05/1.4, allocations: 38.55 kB / 1.247 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/1.4, allocations: 23.67 kB / 1.247 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/1.401, allocations: 245.6 kB / 1.247 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/1.401, allocations: 8 kB / 1.247 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/1.401, allocations: 4 kB / 1.247 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/1.401, allocations: 109.6 kB / 1.247 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.401, allocations: 0 / 1.247 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/1.401, allocations: 0 / 1.247 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/1.401, allocations: 19.94 kB / 1.248 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/1.402, allocations: 87.89 kB / 1.248 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/1.403, allocations: 444.6 kB / 1.248 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/1.403, allocations: 130.5 kB / 1.248 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/1.403, allocations: 76.83 kB / 1.248 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/1.404, allocations: 7.891 kB / 1.248 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.404, allocations: 42.56 kB / 1.248 GB, free: 2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.607e-06/1.404, allocations: 0 / 1.248 GB, free: 2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005593/1.404, allocations: 157.8 kB / 1.248 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.404, allocations: 59.34 kB / 1.248 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/1.405, allocations: 184.9 kB / 1.249 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/1.405, allocations: 25.7 kB / 1.249 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/1.405, allocations: 128 kB / 1.249 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/1.405, allocations: 43.34 kB / 1.249 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/1.405, allocations: 4 kB / 1.249 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.405, allocations: 330.8 kB / 1.249 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/1.405, allocations: 47.97 kB / 1.249 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.405, allocations: 47.98 kB / 1.249 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/1.406, allocations: 56.16 kB / 1.249 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.406, allocations: 0 / 1.249 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004844/1.406, allocations: 157.5 kB / 1.249 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.406, allocations: 11.89 kB / 1.249 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.406, allocations: 0 / 1.249 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.406, allocations: 4 kB / 1.249 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/1.407, allocations: 43.95 kB / 1.25 GB, free: 0.6797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.407, allocations: 4 kB / 1.25 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/1.407, allocations: 19.89 kB / 1.25 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/1.407, allocations: 4 kB / 1.25 GB, free: 0.6523 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.407, allocations: 124.8 kB / 1.25 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/1.407, allocations: 15.81 kB / 1.25 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.409e-05/1.407, allocations: 25.92 kB / 1.25 GB, free: 496 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.407, allocations: 0 / 1.25 GB, free: 496 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.407, allocations: 0 / 1.25 GB, free: 496 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.407, allocations: 7.984 kB / 1.25 GB, free: 488 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/1.408, allocations: 249.5 kB / 1.25 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/1.408, allocations: 0 / 1.25 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/1.408, allocations: 47.95 kB / 1.25 GB, free: 140 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.408, allocations: 0 / 1.25 GB, free: 140 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/1.408, allocations: 4 kB / 1.25 GB, free: 136 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.408, allocations: 3.953 kB / 1.25 GB, free: 132 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.408, allocations: 0 / 1.25 GB, free: 132 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6026/2.011, allocations: 250.1 kB / 1.25 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/2.011, allocations: 105.9 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/2.011, allocations: 6.906 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/2.012, allocations: 17.92 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/2.012, allocations: 11.72 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/2.012, allocations: 5.625 kB / 1.25 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002493/2.012, allocations: 150.1 kB / 1.251 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/2.012, allocations: 0.9062 kB / 1.251 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004317/2.012, allocations: 49.53 kB / 1.251 GB, free: 307.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/2.013, allocations: 0.8476 MB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004803/2.014, allocations: 123.6 kB / 1.252 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.014, allocations: 0 / 1.252 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/2.014, allocations: 63.59 kB / 1.252 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/2.015, allocations: 29.7 kB / 1.252 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/2.016, allocations: 289.3 kB / 1.252 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/2.016, allocations: 0.7319 MB / 1.253 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003516/2.016, allocations: 48.98 kB / 1.253 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/2.017, allocations: 51.58 kB / 1.253 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.413e-06/2.017, allocations: 0.75 kB / 1.253 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/2.048, allocations: 4.451 MB / 1.257 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/2.048, allocations: 178.1 kB / 1.257 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/4.483, allocations: 5.594 kB / 1.257 GB, free: 305.5 MB / 0.8542 GB