Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 289.9 MB / 297.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 176.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008267, allocations: 105.5 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.415e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6546, allocations: 116.3 MB / 0.9732 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.8227, allocations: 138.2 MB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.823, allocations: 79.39 kB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002154/0.8251, allocations: 0.7631 MB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8252, allocations: 0.5312 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8252, allocations: 0.5938 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003726/0.8256, allocations: 340.2 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8256, allocations: 8.031 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.8258, allocations: 20.83 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.8259, allocations: 171.6 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.826, allocations: 0 / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.826, allocations: 0.5312 kB / 1.11 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.488e-05/0.8261, allocations: 20 kB / 1.11 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.8262, allocations: 46.77 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8262, allocations: 0 / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.8262, allocations: 0.7812 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.8262, allocations: 0 / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.8267, allocations: 260.1 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.8267, allocations: 27.11 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.8268, allocations: 13.45 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.8268, allocations: 5.281 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.8268, allocations: 30.56 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.8269, allocations: 1.156 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.827, allocations: 49.64 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.8271, allocations: 54.44 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.8272, allocations: 101 kB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8272, allocations: 25.7 kB / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.8272, allocations: 84.14 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.8273, allocations: 7.844 kB / 1.11 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8273, allocations: 0 / 1.11 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.8274, allocations: 320.5 kB / 1.111 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.8274, allocations: 9.469 kB / 1.111 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.8274, allocations: 4 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.8274, allocations: 14.55 kB / 1.111 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8275, allocations: 0 / 1.111 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.309e-05/0.8275, allocations: 49.61 kB / 1.111 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.8276, allocations: 8 kB / 1.111 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.8276, allocations: 3.938 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.8276, allocations: 0 / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.8277, allocations: 16.7 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.8277, allocations: 2.75 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.8278, allocations: 11.98 kB / 1.111 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.8278, allocations: 0 / 1.111 GB, free: 9.387 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 6.877e-05/0.8279, allocations: 104.9 kB / 1.111 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.8279, allocations: 9.984 kB / 1.111 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.8279, allocations: 7.953 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.828, allocations: 0 / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.828, allocations: 0 / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.828, allocations: 1.312 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.8281, allocations: 146.2 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8281, allocations: 0 / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.8282, allocations: 25.98 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8282, allocations: 3.953 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.8283, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8283, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8283, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.8284, allocations: 147.6 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.8284, allocations: 85.02 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.8285, allocations: 3.953 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.8286, allocations: 11.98 kB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.8286, allocations: 0 / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.8286, allocations: 0 / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.8287, allocations: 81.25 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8287, allocations: 4 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002001/0.8289, allocations: 8.031 kB / 1.111 GB, free: 8.691 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0001184/0.829, allocations: 99.23 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.8291, allocations: 16 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8291, allocations: 4 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.8292, allocations: 8 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.8294, allocations: 7.797 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.8297, allocations: 82.61 kB / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.8299, allocations: 0.6775 MB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.83, allocations: 4 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.83, allocations: 7.438 kB / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.83, allocations: 0 / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.002305/0.8323, allocations: 461.4 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)