Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.861/1.861, allocations: 285.4 MB / 298 MB, free: 5.969 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.001087/0.001087, allocations: 180.8 kB / 366.4 MB, free: 2.078 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.812/1.812, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008022/0.0008021, allocations: 92.64 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.805e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7685, allocations: 115.3 MB / 0.971 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.9594, allocations: 137.9 MB / 1.106 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.9596, allocations: 75.94 kB / 1.106 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002225/0.9619, allocations: 0.7767 MB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9619, allocations: 0 / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9619, allocations: 0 / 1.106 GB, free: 13.05 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.0003782/0.9623, allocations: 335.1 kB / 1.107 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.9624, allocations: 12.03 kB / 1.107 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.9624, allocations: 32.94 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.9626, allocations: 27.66 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.9627, allocations: 171 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.9627, allocations: 6.891 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.9628, allocations: 0.75 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.9629, allocations: 41.69 kB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9629, allocations: 0.5 kB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.9629, allocations: 0.5312 kB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.9629, allocations: 0 / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.963, allocations: 25.95 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.9634, allocations: 273.5 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.9635, allocations: 36.77 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.9636, allocations: 15.11 kB / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.9636, allocations: 0 / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.9637, allocations: 35.09 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9637, allocations: 0.7188 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.9639, allocations: 50.31 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.9639, allocations: 52.03 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.964, allocations: 93 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.964, allocations: 30.89 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.9641, allocations: 92.03 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.9641, allocations: 4.594 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9641, allocations: 0 / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9642, allocations: 316 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.9643, allocations: 12 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.9643, allocations: 10 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.9643, allocations: 8 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9643, allocations: 0 / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.97e-05/0.9644, allocations: 49.59 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9645, allocations: 4.75 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9645, allocations: 4 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9645, allocations: 2.062 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9646, allocations: 15.92 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9646, allocations: 0 / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.9647, allocations: 18.27 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.9647, allocations: 4.844 kB / 1.108 GB, free: 11.12 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 7.167e-05/0.9648, allocations: 111.8 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.9648, allocations: 0 / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.9649, allocations: 7.656 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9649, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9649, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9649, allocations: 1.812 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.9651, allocations: 169.6 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9651, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.9652, allocations: 11.98 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9652, allocations: 6.75 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.9652, allocations: 3.984 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9652, allocations: 3 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9652, allocations: 0 / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.9654, allocations: 150.2 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.9654, allocations: 85.14 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.9654, allocations: 3.984 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9656, allocations: 8 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.9656, allocations: 3.984 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.9656, allocations: 6 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.9657, allocations: 83.28 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9657, allocations: 0 / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002141/0.9659, allocations: 4 kB / 1.109 GB, free: 10.4 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.0004244/0.9663, allocations: 0.6812 MB / 1.109 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.9664, allocations: 19.94 kB / 1.109 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9664, allocations: 0 / 1.109 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.9665, allocations: 12.09 kB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.9666, allocations: 8.266 kB / 1.109 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.9671, allocations: 109 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.9673, allocations: 0.6809 MB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.9674, allocations: 4 kB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.9674, allocations: 11.44 kB / 1.11 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9674, allocations: 0 / 1.11 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.9801, allocations: 1.185 MB / 1.111 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.9803, allocations: 162.7 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.498, allocations: 0 / 1.112 GB, free: 7.582 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)