Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.472/1.472, allocations: 249.5 MB / 257 MB, free: 6.984 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.001068/0.001068, allocations: 172.8 kB / 316.3 MB, free: 3.223 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.69/1.69, 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.000789/0.0007887, allocations: 78.55 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.319e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1774, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6542/0.8317, allocations: 131.9 MB / 1.014 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.8319, allocations: 78.06 kB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.8445, allocations: 4.516 MB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8446, allocations: 0 / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8446, allocations: 0 / 1.019 GB, free: 1.656 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003074/0.8449, allocations: 345.8 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8449, allocations: 11.97 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.845, allocations: 4 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.8451, allocations: 175 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8451, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.8452, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.2e-05/0.8452, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.653e-05/0.8453, allocations: 37.14 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8453, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.8453, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.8453, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.8455, allocations: 134.2 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.8456, allocations: 25.98 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.8456, allocations: 8.922 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/0.8462, allocations: 457.5 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.8462, allocations: 30.56 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.8463, allocations: 0 / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005816/0.8468, allocations: 244.9 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.8469, allocations: 51.41 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.847, allocations: 97.11 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.847, allocations: 25.7 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.847, allocations: 87.44 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.8471, allocations: 3.906 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.8471, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8472, allocations: 318.3 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.8472, allocations: 0 / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.8473, allocations: 17.66 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.8473, allocations: 19.05 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.8473, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.8474, allocations: 48.53 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8475, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8475, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8475, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.8475, allocations: 11.98 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8476, allocations: 3.938 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.8476, allocations: 4.062 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.8476, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.637e-05/0.8477, allocations: 104.9 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000103/0.8478, allocations: 52.17 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.8478, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.8479, allocations: 56.81 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.848, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.848, allocations: 240 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.848, allocations: 7.984 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.8481, allocations: 133.2 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8481, allocations: 7.938 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.8481, allocations: 11.98 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8482, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.8482, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8482, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8482, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.8483, allocations: 74.56 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.8484, allocations: 84.97 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.8484, allocations: 4.031 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.8484, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.8484, allocations: 6.984 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.8485, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.8485, allocations: 79.22 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8485, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002229/0.8487, allocations: 31.94 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005041/0.8492, allocations: 0.6527 MB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.858e-05/0.8493, allocations: 12.31 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8493, allocations: 4 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.8493, allocations: 7.312 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.8495, allocations: 2.062 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.8498, allocations: 126.8 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.8501, allocations: 0.6807 MB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.8501, allocations: 3.984 kB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.8502, allocations: 11.44 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.8502, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.8704, allocations: 1.167 MB / 1.024 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.8707, allocations: 187.7 kB / 1.024 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/2.259, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)