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.702/1.702, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.00114/0.00114, allocations: 168.9 kB / 361.4 MB, free: 6.844 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.788/1.788, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009458/0.0009461, allocations: 90.33 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.485e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.735, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.9358, allocations: 137.2 MB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.9361, allocations: 77.34 kB / 1.099 GB, free: 2.477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002145/0.9383, allocations: 0.7686 MB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9383, allocations: 0 / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9383, allocations: 1.281 kB / 1.099 GB, free: 1.723 MB / 0.698 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.0003676/0.9387, allocations: 344.7 kB / 1.1 GB, free: 1.352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.9387, allocations: 12.78 kB / 1.1 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.9389, allocations: 21.48 kB / 1.1 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.9391, allocations: 167.6 kB / 1.1 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.9391, allocations: 0.5625 kB / 1.1 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.9391, allocations: 0 / 1.1 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.377e-05/0.9392, allocations: 16.62 kB / 1.1 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.9393, allocations: 46.47 kB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9393, allocations: 1.875 kB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.9393, allocations: 0.7188 kB / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.9393, allocations: 0 / 1.1 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.9398, allocations: 261.9 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.147e-05/0.9398, allocations: 27.2 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.9399, allocations: 13.45 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.9399, allocations: 0.7188 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.9399, allocations: 35.12 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.9399, allocations: 1.062 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.9401, allocations: 49.64 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.9402, allocations: 52.12 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.9402, allocations: 97.67 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.9403, allocations: 25.7 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.9403, allocations: 89.73 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.9403, allocations: 3.938 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.9403, allocations: 0 / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9404, allocations: 315.7 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.9405, allocations: 11.98 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.9405, allocations: 5.922 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.9405, allocations: 11.95 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9406, allocations: 2.719 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.152e-05/0.9406, allocations: 49.61 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9407, allocations: 16.53 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9407, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.9407, allocations: 3.281 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.9408, allocations: 15.94 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.9408, allocations: 0 / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.9409, allocations: 12.98 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.9409, allocations: 0 / 1.101 GB, free: 15.89 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.051e-05/0.941, allocations: 107 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.167e-05/0.9411, allocations: 45.69 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.9411, allocations: 4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.9411, allocations: 7.969 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.9411, allocations: 160 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9411, allocations: 4 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.9411, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.9413, allocations: 150.1 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9413, allocations: 2.188 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.9414, allocations: 15.98 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9414, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.9414, allocations: 3.938 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9414, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9414, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.9415, allocations: 147.5 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.9416, allocations: 84.95 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.9416, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.9417, allocations: 11.98 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.9418, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.9418, allocations: 3.984 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.9418, allocations: 87.97 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9418, allocations: 4 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002094/0.942, allocations: 4 kB / 1.102 GB, free: 15.14 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.000394/0.9424, allocations: 0.6835 MB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.642e-05/0.9425, allocations: 24.03 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9426, allocations: 3.938 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.9426, allocations: 12 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.9428, allocations: 6.344 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.9432, allocations: 101.5 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.9434, allocations: 0.6816 MB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.9434, allocations: 4 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.9435, allocations: 11.42 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.9435, allocations: 3.938 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.9632, allocations: 0.8484 MB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.9636, allocations: 150.3 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/2.408, allocations: 7.422 kB / 1.104 GB, free: 12.53 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)