Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.477/1.477, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.001095/0.001095, allocations: 170.1 kB / 321.3 MB, free: 14.65 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.713/1.713, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0007859/0.000786, allocations: 87.17 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.695e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2315, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7718/1.003, allocations: 131.8 MB / 1.021 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.004, allocations: 75.08 kB / 1.021 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01506/1.019, allocations: 5.074 MB / 1.026 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/1.019, allocations: 0 / 1.026 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.019, allocations: 4 kB / 1.026 GB, free: 14.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003997/1.019, allocations: 361.9 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.019, allocations: 12.03 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/1.019, allocations: 34.56 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/1.019, allocations: 0 / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/1.019, allocations: 171 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.019, allocations: 7.375 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/1.019, allocations: 7.906 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/1.02, allocations: 52.44 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.02, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/1.02, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.02, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/1.02, allocations: 23.86 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/1.02, allocations: 168.9 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/1.02, allocations: 54 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/1.02, allocations: 31.61 kB / 1.027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/1.021, allocations: 460.7 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.021, allocations: 34.56 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/1.021, allocations: 0 / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001231/1.022, allocations: 0.5678 MB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.022, allocations: 51.41 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/1.022, allocations: 93.36 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/1.022, allocations: 28.95 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/1.022, allocations: 84.14 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/1.023, allocations: 41.92 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/1.023, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.023, allocations: 322.1 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/1.023, allocations: 21.56 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/1.023, allocations: 18.19 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/1.023, allocations: 22.86 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/1.023, allocations: 4 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00016/1.023, allocations: 92.88 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.023, allocations: 4 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.023, allocations: 4 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.023, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.023, allocations: 19.98 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.023, allocations: 4 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/1.023, allocations: 7.625 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.023, allocations: 0 / 1.028 GB, free: 11.59 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 (13): * Single equations (assignments): 13 * 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.975e-05/1.023, allocations: 116.5 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.023, allocations: 11.89 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/1.024, allocations: 99.08 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.024, allocations: 4 kB / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.024, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.024, allocations: 4 kB / 1.029 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/1.024, allocations: 354.6 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.024, allocations: 0 / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.024, allocations: 19.98 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.024, allocations: 8 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/1.024, allocations: 3.688 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.024, allocations: 96 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.024, allocations: 3.938 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/1.025, allocations: 224 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/1.025, allocations: 89.06 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/1.025, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/1.025, allocations: 4 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/1.025, allocations: 11.73 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/1.025, allocations: 4 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.792e-05/1.025, allocations: 75.28 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.025, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003028/1.025, allocations: 59.17 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007251/1.026, allocations: 0.8104 MB / 1.03 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001322/1.026, allocations: 57.81 kB / 1.03 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.026, allocations: 4 kB / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/1.026, allocations: 38.91 kB / 1.03 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/1.026, allocations: 11.5 kB / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/1.027, allocations: 195 kB / 1.03 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.027, allocations: 0.6887 MB / 1.031 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.536e-05/1.027, allocations: 12.25 kB / 1.031 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/1.027, allocations: 22.25 kB / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.027, allocations: 4 kB / 1.031 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/1.041, allocations: 2.186 MB / 1.033 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.041, allocations: 196.6 kB / 1.033 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.625, allocations: 0 / 1.033 GB, free: 6.402 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)