Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 172.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001032/0.001031, allocations: 94.03 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.000486, allocations: 13.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.4549, allocations: 131.6 MB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4552, allocations: 71.95 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002163/0.4574, allocations: 0.774 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4574, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4574, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 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.0004267/0.4579, allocations: 355.2 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4579, allocations: 8.031 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.458, allocations: 34.5 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.4581, allocations: 19.89 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.4583, allocations: 171 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.4583, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.4583, allocations: 7.984 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.4585, allocations: 61.67 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4586, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4586, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4586, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.4588, allocations: 59.94 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.4593, allocations: 284.8 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.4595, allocations: 58.55 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4595, allocations: 3.984 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.4595, allocations: 34.56 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4595, allocations: 0 / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004368/0.46, allocations: 129.6 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.46, allocations: 55.39 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.4601, allocations: 93 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4601, allocations: 25.7 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.4602, allocations: 92.05 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.4602, allocations: 0 / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4602, allocations: 4.125 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4603, allocations: 318.8 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4605, allocations: 27.98 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.4606, allocations: 35.97 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4607, allocations: 31.97 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4607, allocations: 3.938 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002888/0.461, allocations: 101.6 kB / 1.031 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.461, allocations: 8 kB / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.461, allocations: 0 / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.461, allocations: 0 / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4612, allocations: 20.02 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4612, allocations: 3.938 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.4612, allocations: 11.98 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4613, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 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 (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 8.358e-05/0.4613, allocations: 109.8 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.4614, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.4614, allocations: 11.52 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4614, allocations: 4 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4614, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4614, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.4616, allocations: 165.9 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4616, allocations: 4 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.4617, allocations: 15.98 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4617, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4617, allocations: 4 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4618, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4618, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4621, allocations: 207.3 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.4621, allocations: 77.11 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.4621, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.4622, allocations: 11.98 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.4623, allocations: 0 / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4623, allocations: 4 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.4623, allocations: 87.27 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4624, allocations: 0 / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002014/0.4626, allocations: 8.031 kB / 1.032 GB, free: 8.102 MB / 0.6823 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 (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.0005922/0.4632, allocations: 0.7247 MB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.4634, allocations: 67.98 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4634, allocations: 0 / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.4636, allocations: 35.97 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.4638, allocations: 0.8594 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.4643, allocations: 170.3 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4646, allocations: 0.677 MB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.4647, allocations: 0 / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.4647, allocations: 19.42 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of SimCode: time 1.793e-06/0.4647, allocations: 4 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.4763, allocations: 1.182 MB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/0.4766, allocations: 190.3 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.963, allocations: 0 / 1.035 GB, free: 5.02 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)