Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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.449/1.449, allocations: 251.9 MB / 266.9 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.001253/0.001253, allocations: 175 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 1.679/1.679, 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.0008074/0.0008072, allocations: 105.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8.719 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.4015, allocations: 131.6 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4018, allocations: 79.95 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.4135, allocations: 4.008 MB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4135, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4135, allocations: 0 / 1.033 GB, free: 7.945 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000343/0.4139, allocations: 343.4 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4139, allocations: 12.03 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.414, allocations: 34.56 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.4141, allocations: 3.938 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.4142, allocations: 163 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.4142, allocations: 0 / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4142, allocations: 4 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4143, allocations: 29.69 kB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4144, allocations: 0 / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.4144, allocations: 3.938 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4144, allocations: 0 / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.4144, allocations: 8 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.4146, allocations: 153.5 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.4146, allocations: 22.55 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.4151, allocations: 425.5 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4152, allocations: 38.56 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.4152, allocations: 0 / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.4154, allocations: 33.69 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4154, allocations: 51.41 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.4155, allocations: 85 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4155, allocations: 25.7 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.4155, allocations: 84.08 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4156, allocations: 128 / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.4156, allocations: 11.94 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4157, allocations: 314.8 kB / 1.034 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.4157, allocations: 0 / 1.034 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/0.4157, allocations: 0 / 1.034 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.4158, allocations: 4 kB / 1.034 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4158, allocations: 0 / 1.034 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.452e-05/0.4159, allocations: 37.64 kB / 1.034 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4159, allocations: 4 kB / 1.034 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4159, allocations: 4.094 kB / 1.034 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4159, allocations: 4 kB / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.416, allocations: 0 / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.416, allocations: 0 / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.416, allocations: 0 / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.416, allocations: 0 / 1.034 GB, free: 5.773 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 (1): * Single equations (assignments): 1 * 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.801e-05/0.4161, allocations: 113.8 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4161, allocations: 3.953 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.4163, allocations: 44.81 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4163, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4163, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4163, allocations: 8 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.4164, allocations: 149.6 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4164, allocations: 3.984 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.4164, allocations: 0 / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4165, allocations: 3.953 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4165, allocations: 4 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4165, allocations: 0 / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-05/0.4165, allocations: 8.016 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.4166, allocations: 57.08 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.4167, allocations: 85.09 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4167, allocations: 3.953 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.4167, allocations: 0 / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.4167, allocations: 0 / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.4167, allocations: 0 / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.4168, allocations: 79.31 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.4168, allocations: 0 / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002206/0.417, allocations: 16 kB / 1.035 GB, free: 5.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 (1): * Single equations (assignments): 1 * 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.0004623/0.4175, allocations: 0.6047 MB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.947e-05/0.4176, allocations: 12.03 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4176, allocations: 0 / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.4176, allocations: 4 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.279e-05/0.4177, allocations: 7.891 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.418, allocations: 112.3 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4184, allocations: 0.6731 MB / 1.036 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.4184, allocations: 4 kB / 1.036 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.4184, allocations: 11.38 kB / 1.036 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of SimCode: time 4.7e-07/0.4184, allocations: 4.125 kB / 1.036 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.4298, allocations: 0.9529 MB / 1.037 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.43, allocations: 197.6 kB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.994, allocations: 4 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)