Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 289.7 MB / 302.2 MB, free: 2.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 183 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 93.75 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.091e-05/5.093e-05, allocations: 8 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.334, allocations: 139.1 MB / 1.116 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.334, allocations: 74.55 kB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01403/1.348, allocations: 5.068 MB / 1.121 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/1.348, allocations: 2.656 kB / 1.121 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.348, allocations: 4 kB / 1.121 GB, free: 41.69 MB / 0.7448 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.000406/1.349, allocations: 360.9 kB / 1.121 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/1.349, allocations: 12.03 kB / 1.121 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/1.349, allocations: 34.08 kB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/1.349, allocations: 12.75 kB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.349, allocations: 163 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.349, allocations: 3.266 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/1.349, allocations: 10.34 kB / 1.121 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/1.349, allocations: 47.03 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.349, allocations: 0 / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/1.349, allocations: 3.812 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.349, allocations: 4 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/1.349, allocations: 22.91 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/1.349, allocations: 163.9 kB / 1.122 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/1.35, allocations: 64.58 kB / 1.122 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/1.35, allocations: 31.45 kB / 1.122 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/1.35, allocations: 465.1 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.35, allocations: 30.56 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.35, allocations: 0 / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.00113/1.352, allocations: 0.5554 MB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/1.352, allocations: 55.41 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/1.352, allocations: 100.7 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/1.352, allocations: 25.7 kB / 1.123 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/1.352, allocations: 87.64 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/1.352, allocations: 34.19 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.352, allocations: 2.875 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/1.352, allocations: 324.9 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/1.352, allocations: 15.25 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/1.352, allocations: 18.62 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/1.352, allocations: 29.42 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.352, allocations: 0 / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001521/1.352, allocations: 96.41 kB / 1.123 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.352, allocations: 4 kB / 1.123 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.352, allocations: 0 / 1.123 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.352, allocations: 3.938 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.352, allocations: 27.45 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.352, allocations: 0 / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/1.352, allocations: 3.75 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.352, allocations: 4 kB / 1.123 GB, free: 38.78 MB / 0.7448 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.359e-05/1.352, allocations: 112.1 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/1.352, allocations: 8.469 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/1.353, allocations: 108 kB / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.353, allocations: 0 / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.353, allocations: 1.25 kB / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.353, allocations: 0 / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/1.353, allocations: 350.9 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.353, allocations: 0 / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.353, allocations: 32 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.353, allocations: 0 / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.353, allocations: 0.8438 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.353, allocations: 0.5625 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.353, allocations: 4 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/1.354, allocations: 217.1 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/1.354, allocations: 88.42 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.354, allocations: 6.75 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/1.354, allocations: 4.938 kB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/1.354, allocations: 7.375 kB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/1.354, allocations: 7.422 kB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.748e-05/1.354, allocations: 84.58 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.993e-06/1.354, allocations: 0 / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002718/1.354, allocations: 55.31 kB / 1.124 GB, free: 37.75 MB / 0.7448 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.000562/1.355, allocations: 0.8102 MB / 1.125 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001406/1.355, allocations: 60.2 kB / 1.125 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.355, allocations: 3.5 kB / 1.125 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/1.355, allocations: 34.91 kB / 1.125 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/1.355, allocations: 0 / 1.125 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/1.355, allocations: 204.5 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/1.356, allocations: 0.6917 MB / 1.126 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.546e-05/1.356, allocations: 10.61 kB / 1.126 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/1.356, allocations: 18.31 kB / 1.126 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.356, allocations: 0 / 1.126 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/1.37, allocations: 2.181 MB / 1.128 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.37, allocations: 185.3 kB / 1.129 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.981, allocations: 0 / 1.129 GB, free: 34.55 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)