Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 1.629/1.629, allocations: 287.4 MB / 302.6 MB, free: 8.262 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.001665/0.001665, allocations: 186.6 kB / 371.1 MB, free: 10.84 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.49/1.49, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007394/0.0007393, allocations: 94.94 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004013, allocations: 13.89 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000681/0.2085, allocations: 347.5 kB / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004955/0.209, allocations: 327.2 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.209, allocations: 0 / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.729e-06/0.2091, allocations: 0 / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.2091, allocations: 0 / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.2094, allocations: 71.84 kB / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.736e-05/0.2095, allocations: 27.92 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.2095, allocations: 0 / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.2095, allocations: 15.98 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.2096, allocations: 11.92 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2096, allocations: 4 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.2099, allocations: 263.7 kB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2099, allocations: 15.86 kB / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.21, allocations: 33.7 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2101, allocations: 55.89 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2101, allocations: 0 / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2101, allocations: 4 kB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.2101, allocations: 0 / 0.9799 GB, free: 26.9 MB / 0.6198 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.0003123/0.2104, allocations: 355.7 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2104, allocations: 11.97 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.2105, allocations: 42.73 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.2105, allocations: 4.938 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.2106, allocations: 164.4 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2106, allocations: 4.359 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2107, allocations: 8.281 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2108, allocations: 58.17 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2108, allocations: 3.938 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2108, allocations: 4 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2108, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.2109, allocations: 19.98 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.211, allocations: 161.7 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.2111, allocations: 54.56 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.2111, allocations: 36.78 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.2117, allocations: 461.5 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.2117, allocations: 34.56 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2117, allocations: 0 / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001024/0.2127, allocations: 0.5917 MB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.2128, allocations: 51.41 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.2128, allocations: 97.86 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2128, allocations: 29.7 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.2129, allocations: 80.14 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.2129, allocations: 39.45 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.2129, allocations: 4 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.2129, allocations: 314.8 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.213, allocations: 20 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.213, allocations: 24.61 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.2131, allocations: 67.61 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2131, allocations: 0 / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001256/0.2132, allocations: 101.5 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2133, allocations: 10.5 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2133, allocations: 0 / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2133, allocations: 0 / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.2134, allocations: 23.98 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2134, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.2134, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2134, allocations: 8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 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 5.22e-05/0.2135, allocations: 117.8 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.2135, allocations: 12.03 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.2137, allocations: 101.6 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2137, allocations: 4 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2137, allocations: 0 / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2137, allocations: 3.938 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.214, allocations: 362.5 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.214, allocations: 3.938 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2141, allocations: 23.98 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2142, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2142, allocations: 4 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2142, allocations: 0 / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2142, allocations: 0 / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.2144, allocations: 223.5 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.2144, allocations: 89.12 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2144, allocations: 0 / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.2145, allocations: 12.05 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2146, allocations: 8 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.2146, allocations: 0 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.2146, allocations: 83.27 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2146, allocations: 0 / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002342/0.2148, allocations: 44 kB / 0.9837 GB, free: 22.49 MB / 0.6198 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.0004665/0.2153, allocations: 0.7982 MB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.2154, allocations: 55.92 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2155, allocations: 0 / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.2155, allocations: 35.98 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.2157, allocations: 4 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.2163, allocations: 0.5223 MB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2164, allocations: 0.6848 MB / 0.9857 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.2165, allocations: 7.984 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.2165, allocations: 19.5 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2165, allocations: 0 / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.2281, allocations: 2.214 MB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.2283, allocations: 231.6 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.839, allocations: 0 / 0.9882 GB, free: 17.98 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)