Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.758/1.758, allocations: 297.8 MB / 313.8 MB, free: 68 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 170.6 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.000945, allocations: 101.9 kB / 0.7808 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004224, allocations: 12 kB / 0.9088 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.838, allocations: 120.3 MB / 1.026 GB, free: 56.56 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.889, allocations: 366.3 MB / 1.384 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.889, allocations: 92.88 kB / 1.384 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02259/1.912, allocations: 9.601 MB / 1.394 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.434e-06/1.912, allocations: 0 / 1.394 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.628e-05/1.912, allocations: 4 kB / 1.394 GB, free: 226.7 MB / 0.8855 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.0007362/1.913, allocations: 492.8 kB / 1.394 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.913, allocations: 8.031 kB / 1.394 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/1.913, allocations: 24.66 kB / 1.394 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/1.913, allocations: 252.4 kB / 1.394 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.913, allocations: 9.172 kB / 1.394 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/1.913, allocations: 4.359 kB / 1.394 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/1.914, allocations: 146.2 kB / 1.394 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.914, allocations: 0.9844 kB / 1.394 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.914, allocations: 3.938 kB / 1.394 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/1.914, allocations: 10.39 kB / 1.394 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/1.914, allocations: 150.9 kB / 1.395 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/1.915, allocations: 458.6 kB / 1.395 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/1.915, allocations: 176.2 kB / 1.395 GB, free: 225 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/1.915, allocations: 107.6 kB / 1.395 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/1.915, allocations: 0 / 1.395 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/1.915, allocations: 35.22 kB / 1.395 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/1.916, allocations: 4 kB / 1.395 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0007912/1.916, allocations: 307 kB / 1.396 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.916, allocations: 55.41 kB / 1.396 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/1.917, allocations: 202.4 kB / 1.396 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.917, allocations: 33.7 kB / 1.396 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/1.917, allocations: 121.3 kB / 1.396 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/1.917, allocations: 50.88 kB / 1.396 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/1.917, allocations: 0 / 1.396 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/1.917, allocations: 332.5 kB / 1.396 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/1.917, allocations: 84.34 kB / 1.396 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/1.917, allocations: 76.27 kB / 1.397 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/1.918, allocations: 178.6 kB / 1.397 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.918, allocations: 0 / 1.397 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004934/1.918, allocations: 222.5 kB / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.918, allocations: 5.562 kB / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.918, allocations: 4.562 kB / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.918, allocations: 3.938 kB / 1.397 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.918, allocations: 41.66 kB / 1.397 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.918, allocations: 0 / 1.397 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.919, allocations: 17.25 kB / 1.397 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/1.919, allocations: 9.5 kB / 1.397 GB, free: 223.3 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.919, allocations: 131.7 kB / 1.397 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/1.919, allocations: 23.72 kB / 1.397 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/1.919, allocations: 29.31 kB / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/1.919, allocations: 0 / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.919, allocations: 0 / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.919, allocations: 0.5625 kB / 1.397 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/1.919, allocations: 264.2 kB / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.919, allocations: 0 / 1.397 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/1.919, allocations: 41.66 kB / 1.397 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.919, allocations: 1.125 kB / 1.397 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/1.919, allocations: 1.172 kB / 1.397 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.919, allocations: 4.797 kB / 1.397 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.919, allocations: 0 / 1.397 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/1.92, allocations: 327.2 kB / 1.398 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/1.92, allocations: 107.3 kB / 1.398 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/1.92, allocations: 8.75 kB / 1.398 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/1.92, allocations: 16.55 kB / 1.398 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/1.92, allocations: 12.69 kB / 1.398 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/1.92, allocations: 9.219 kB / 1.398 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001162/1.92, allocations: 150.6 kB / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/1.92, allocations: 0 / 1.398 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003142/1.921, allocations: 40.59 kB / 1.398 GB, free: 222.2 MB / 0.8855 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 (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.0002643/1.921, allocations: 150.7 kB / 1.398 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005003/1.922, allocations: 186.5 kB / 1.398 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.922, allocations: 0 / 1.398 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/1.922, allocations: 97.56 kB / 1.399 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/1.922, allocations: 33.52 kB / 1.399 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/1.923, allocations: 483.5 kB / 1.399 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/1.923, allocations: 0.7285 MB / 1.4 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001984/1.923, allocations: 53.61 kB / 1.4 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/1.924, allocations: 22.62 kB / 1.4 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/1.924, allocations: 0 / 1.4 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.007426/1.931, allocations: 2.204 MB / 1.402 GB, free: 219.3 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)