Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.00118/0.00118, allocations: 190 kB / 371.8 MB, free: 10.27 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.413/1.413, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008412/0.0008412, allocations: 93.22 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 17.48 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007329/0.2089, allocations: 346.1 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005146/0.2094, allocations: 324.9 kB / 0.9801 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.2095, allocations: 4 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2095, allocations: 0 / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.2096, allocations: 3.938 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.21, allocations: 75.77 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.21, allocations: 11.98 kB / 0.9802 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.2101, allocations: 4 kB / 0.9802 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.2101, allocations: 15.92 kB / 0.9802 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.2102, allocations: 11.98 kB / 0.9803 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2102, allocations: 4 kB / 0.9803 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2105, allocations: 255.7 kB / 0.9805 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.2105, allocations: 7.922 kB / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.2106, allocations: 33.7 kB / 0.9805 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2107, allocations: 59.89 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2107, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2107, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2107, allocations: 7.938 kB / 0.9806 GB, free: 26.43 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.0003264/0.211, allocations: 355.5 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2111, allocations: 12.03 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.2111, allocations: 30.56 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2112, allocations: 4 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.2113, allocations: 167 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2113, allocations: 0 / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.2113, allocations: 4 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2114, allocations: 61.59 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2114, allocations: 4 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2115, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2115, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.2115, allocations: 19.98 kB / 0.9812 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.2117, allocations: 173.5 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.153e-05/0.2118, allocations: 58.5 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005705/0.2123, allocations: 469.4 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2124, allocations: 30.56 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2124, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00109/0.2135, allocations: 0.5886 MB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.2135, allocations: 51.41 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.2136, allocations: 97.84 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2136, allocations: 33.7 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.585e-05/0.2136, allocations: 84.14 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2137, allocations: 31.47 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2137, allocations: 4.094 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.2137, allocations: 322.7 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.2138, allocations: 23.98 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.2138, allocations: 18.12 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.2138, allocations: 32 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2139, allocations: 0 / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001284/0.214, allocations: 97.52 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.214, allocations: 4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.214, allocations: 4 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.214, allocations: 4 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.2141, allocations: 19.98 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2142, allocations: 0 / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.2142, allocations: 4 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2142, allocations: 4 kB / 0.9833 GB, free: 23.26 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.268e-05/0.2143, allocations: 125.7 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2143, allocations: 7.906 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.2144, allocations: 109.9 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.2145, allocations: 0 / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2145, allocations: 4 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2145, allocations: 4 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.2148, allocations: 354.4 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2148, allocations: 0 / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.2149, allocations: 23.98 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2149, allocations: 0 / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2149, allocations: 4 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2149, allocations: 4 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2149, allocations: 0 / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.2152, allocations: 223.3 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.2152, allocations: 85.12 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.2152, allocations: 4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.2153, allocations: 0 / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.2153, allocations: 7.984 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.2153, allocations: 4 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.176e-05/0.2154, allocations: 95.45 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2154, allocations: 0 / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002512/0.2156, allocations: 40 kB / 0.9844 GB, free: 22.09 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.0004698/0.2161, allocations: 0.7962 MB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2162, allocations: 64.05 kB / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2163, allocations: 0 / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.2163, allocations: 31.92 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.2164, allocations: 8 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.2171, allocations: 0.5139 MB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.2172, allocations: 0.6926 MB / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.802e-05/0.2173, allocations: 8 kB / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.2173, allocations: 15.44 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2173, allocations: 0 / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.2307, allocations: 2.233 MB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.2309, allocations: 226.2 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/1.786, allocations: 4 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)