Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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.532/1.532, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008645/0.0008646, allocations: 97.86 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.873e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2354, allocations: 106.4 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7595/0.995, allocations: 130.9 MB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.9953, allocations: 71.7 kB / 1.02 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002456/0.9977, allocations: 0.9506 MB / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9978, allocations: 0 / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.9978, allocations: 0 / 1.021 GB, free: 2.91 MB / 0.6355 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.0003749/0.9982, allocations: 322.4 kB / 1.021 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/0.9983, allocations: 12.03 kB / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.301e-05/0.9984, allocations: 30.56 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.9986, allocations: 7.984 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.9987, allocations: 163 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.9988, allocations: 0 / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.9988, allocations: 7.375 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.9989, allocations: 33.69 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.999, allocations: 7.938 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.999, allocations: 3.984 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.999, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.9991, allocations: 19.8 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.9993, allocations: 153.3 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.9995, allocations: 34.3 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.9995, allocations: 8.922 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.9996, allocations: 7.5 kB / 1.022 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9996, allocations: 38.5 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.9996, allocations: 0 / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001729/0.9998, allocations: 41.53 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.9999, allocations: 51.41 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.9999, allocations: 85 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/1, allocations: 25.7 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/1, allocations: 84.14 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/1, allocations: 7.891 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1, allocations: 4 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1, allocations: 318.4 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/1, allocations: 6.719 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/1, allocations: 4 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/1, allocations: 7.812 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1, allocations: 3.953 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001079/1.001, allocations: 41.62 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/1.001, allocations: 11.94 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.001, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.001, allocations: 4 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/1.001, allocations: 42.81 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/1.003, allocations: 1.29 MB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/1.003, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-06/1.003, allocations: 3.75 kB / 1.024 GB, free: 15.77 MB / 0.6511 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.003, allocations: 120.5 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/1.003, allocations: 4.094 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/1.003, allocations: 7.484 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.003, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/1.003, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.003, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/1.003, allocations: 156.6 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.003, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/1.004, allocations: 47.94 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.004, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/1.004, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.005, allocations: 1.283 MB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.005, allocations: 4.031 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/1.005, allocations: 72.11 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/1.005, allocations: 89.22 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/1.005, allocations: 7.875 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/1.005, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/1.005, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/1.005, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.612e-05/1.005, allocations: 75.28 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.8e-07/1.005, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003037/1.006, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.6511 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005425/1.006, allocations: 0.6084 MB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000483/1.007, allocations: 50.94 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.007, allocations: 4 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/1.007, allocations: 35.78 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/1.007, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/1.007, allocations: 87.17 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/1.008, allocations: 0.6731 MB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.74e-05/1.008, allocations: 16.25 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/1.008, allocations: 7.438 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of SimCode: time 4.9e-07/1.008, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/1.023, allocations: 1.073 MB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/1.024, allocations: 206.3 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.594, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)