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.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001159/0.001159, allocations: 187.9 kB / 377.1 MB, free: 1.512 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.832/1.832, allocations: 205.4 MB / 0.6366 GB, free: 9.547 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.0008849/0.0008851, allocations: 93.62 kB / 0.7509 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.000485, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3479, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8552/1.203, allocations: 139.1 MB / 1.124 GB, free: 35.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.204, allocations: 75.72 kB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01307/1.217, allocations: 5.087 MB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/1.217, allocations: 0.5625 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.217, allocations: 0 / 1.129 GB, free: 31.84 MB / 0.7292 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.0004237/1.217, allocations: 370.8 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/1.217, allocations: 8.031 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/1.217, allocations: 30.56 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/1.217, allocations: 6.062 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/1.217, allocations: 170.9 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/1.217, allocations: 8.625 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/1.218, allocations: 9.188 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.218, allocations: 49.81 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.218, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.218, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.218, allocations: 10.59 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/1.218, allocations: 18.84 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/1.218, allocations: 170.4 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/1.218, allocations: 61.47 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/1.219, allocations: 454.9 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/1.219, allocations: 41.98 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.219, allocations: 0 / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001333/1.22, allocations: 0.5957 MB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/1.22, allocations: 52.25 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/1.22, allocations: 93 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.22, allocations: 29.7 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/1.22, allocations: 82.33 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/1.22, allocations: 34.94 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-06/1.22, allocations: 0 / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/1.22, allocations: 326.3 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/1.22, allocations: 23.47 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/1.22, allocations: 16 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/1.22, allocations: 28.12 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/1.221, allocations: 0 / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001476/1.221, allocations: 97.08 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.221, allocations: 8 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.221, allocations: 3.938 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.221, allocations: 0 / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.221, allocations: 24.11 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.221, allocations: 1.812 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/1.221, allocations: 4 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/1.221, allocations: 4 kB / 1.132 GB, free: 28.79 MB / 0.7292 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 (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.846e-05/1.221, allocations: 117.8 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/1.221, allocations: 7.422 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/1.221, allocations: 106 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.221, allocations: 7.562 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.221, allocations: 1.562 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.221, allocations: 0 / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/1.222, allocations: 360.9 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/1.222, allocations: 192 / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.222, allocations: 24.77 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.222, allocations: 0 / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/1.222, allocations: 7.984 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.222, allocations: 0 / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.222, allocations: 3.469 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/1.222, allocations: 211.6 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/1.222, allocations: 89.36 kB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/1.222, allocations: 3.469 kB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/1.222, allocations: 16 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/1.222, allocations: 8.375 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.222, allocations: 7.938 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.265e-05/1.222, allocations: 75.28 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.222, allocations: 0 / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002901/1.223, allocations: 59.34 kB / 1.133 GB, free: 27.66 MB / 0.7292 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 () * Number of clocked 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.0005871/1.223, allocations: 0.802 MB / 1.134 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001495/1.223, allocations: 67.66 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.223, allocations: 0 / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/1.223, allocations: 31.94 kB / 1.134 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/1.224, allocations: 12.22 kB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/1.224, allocations: 0.5157 MB / 1.135 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/1.225, allocations: 0.695 MB / 1.135 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.619e-05/1.225, allocations: 6.656 kB / 1.135 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/1.225, allocations: 22.92 kB / 1.135 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/1.225, allocations: 4 kB / 1.135 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/1.239, allocations: 2.161 MB / 1.137 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.239, allocations: 208.4 kB / 1.138 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.976, allocations: 0 / 1.138 GB, free: 24.08 MB / 0.7292 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)