Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.398/1.398, allocations: 249.5 MB / 257 MB, free: 6.953 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.001148/0.001148, allocations: 176.9 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008748/0.0008746, allocations: 88.41 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.29e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7201/0.9498, allocations: 132.5 MB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.9501, allocations: 69.53 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.9617, allocations: 4.302 MB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9617, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9617, allocations: 0 / 1.019 GB, free: 1.25 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.0003338/0.9621, allocations: 369.4 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.9621, allocations: 8.031 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.9622, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.9623, allocations: 177.9 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.9623, allocations: 0 / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.9623, allocations: 3.938 kB / 1.02 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.017e-05/0.9624, allocations: 11.31 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.005e-05/0.9624, allocations: 41.08 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9624, allocations: 3.984 kB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.9625, allocations: 0 / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9625, allocations: 4 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.9628, allocations: 246.8 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.9629, allocations: 25.77 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.9629, allocations: 8.922 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005331/0.9634, allocations: 464.9 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.9635, allocations: 30.56 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9635, allocations: 3.938 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.9636, allocations: 40.38 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.9637, allocations: 55.41 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.511e-05/0.9637, allocations: 92.31 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.9637, allocations: 25.7 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.9638, allocations: 90.73 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.9638, allocations: 7.891 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.9638, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.9639, allocations: 317.4 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.9639, allocations: 7 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.9639, allocations: 4 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.964, allocations: 7.125 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.964, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.972e-05/0.9641, allocations: 45.7 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.9641, allocations: 11.98 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.9641, allocations: 256 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.9641, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.9642, allocations: 12 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.9642, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.9643, allocations: 15.92 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.9643, allocations: 0 / 1.021 GB, free: 14.92 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 (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 5.748e-05/0.9644, allocations: 109 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.042e-05/0.9644, allocations: 49.47 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.9645, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.9646, allocations: 60.55 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9646, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.9646, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.9646, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.9647, allocations: 145.4 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9647, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.9648, allocations: 16.05 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.9648, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.9648, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9648, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9648, allocations: 0.7031 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.965, allocations: 146.7 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.965, allocations: 81.14 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.965, allocations: 4 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.9651, allocations: 7.984 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.9651, allocations: 7.938 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.9651, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.9652, allocations: 82.78 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9652, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002103/0.9654, allocations: 19.98 kB / 1.022 GB, free: 14.13 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 (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.0003664/0.9658, allocations: 0.6842 MB / 1.022 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.18e-05/0.9658, allocations: 11.5 kB / 1.022 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9659, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.9659, allocations: 11.62 kB / 1.022 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.966, allocations: 2.734 kB / 1.022 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.9663, allocations: 97.03 kB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.9665, allocations: 0.6806 MB / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.9666, allocations: 11.92 kB / 1.023 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.9666, allocations: 7.438 kB / 1.023 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9666, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.9838, allocations: 0.9937 MB / 1.024 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.984, allocations: 151.6 kB / 1.024 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.458, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)