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.672/1.672, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.0009663/0.0009659, allocations: 168.8 kB / 321.3 MB, free: 14.67 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.702/1.702, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009681/0.0009681, allocations: 90.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.199e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2489, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7969/1.046, allocations: 132.2 MB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/1.046, allocations: 70.7 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.013/1.059, allocations: 4.317 MB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/1.059, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.059, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 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.0004848/1.06, allocations: 365.7 kB / 1.026 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.06, allocations: 12.03 kB / 1.026 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/1.06, allocations: 34.55 kB / 1.026 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/1.06, allocations: 0 / 1.026 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.06, allocations: 182.2 kB / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.06, allocations: 7.984 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.06, allocations: 0 / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.06, allocations: 45.38 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.06, allocations: 0 / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/1.06, allocations: 0 / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.06, allocations: 0 / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/1.06, allocations: 15.56 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/1.061, allocations: 267.7 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.264e-05/1.061, allocations: 30.39 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/1.061, allocations: 12.8 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/1.062, allocations: 457.5 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.062, allocations: 38.56 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.062, allocations: 0 / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002013/1.062, allocations: 37.33 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.062, allocations: 55.34 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/1.062, allocations: 100.4 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/1.062, allocations: 25.7 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/1.062, allocations: 87.27 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/1.062, allocations: 3.906 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/1.062, allocations: 3.5 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.062, allocations: 318.8 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/1.062, allocations: 7.812 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/1.062, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/1.062, allocations: 7.984 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.062, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.464e-05/1.062, allocations: 45.39 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.062, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.062, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.062, allocations: 4.094 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/1.063, allocations: 11.98 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.063, allocations: 7.938 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/1.063, allocations: 7.984 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/1.063, allocations: 0 / 1.027 GB, free: 12.36 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 8.182e-05/1.063, allocations: 108.9 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/1.063, allocations: 3.906 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.063, allocations: 60.11 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.063, allocations: 3.938 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.063, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.063, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/1.063, allocations: 165.4 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.063, allocations: 4 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/1.063, allocations: 11.94 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.063, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/1.063, allocations: 8.016 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.063, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.063, allocations: 4.188 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/1.063, allocations: 138.5 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/1.063, allocations: 85.02 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.063, allocations: 7.984 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/1.064, allocations: 8.031 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/1.064, allocations: 11.8 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/1.064, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.488e-05/1.064, allocations: 79.28 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002284/1.064, allocations: 16 kB / 1.028 GB, free: 11.58 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.0005397/1.064, allocations: 0.704 MB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/1.065, allocations: 11.12 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.065, allocations: 0 / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/1.065, allocations: 11.75 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.065, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/1.065, allocations: 98.94 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/1.065, allocations: 0.6811 MB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.991e-05/1.065, allocations: 8.641 kB / 1.03 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/1.066, allocations: 7.438 kB / 1.03 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/1.066, allocations: 0 / 1.03 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/1.077, allocations: 1.311 MB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.077, allocations: 164.7 kB / 1.031 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.564, allocations: 0 / 1.031 GB, free: 8.562 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)