Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.001067/0.001067, allocations: 180.5 kB / 372 MB, free: 10.25 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.403/1.403, allocations: 205.4 MB / 0.6307 GB, free: 9.949 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.000673/0.000673, allocations: 100.8 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 16.77 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006866/0.2048, allocations: 335.7 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.2054, allocations: 311.3 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.2054, allocations: 0 / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.2054, allocations: 4 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.348e-05/0.2055, allocations: 3.938 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.2058, allocations: 71.84 kB / 0.9803 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.2059, allocations: 8 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.2059, allocations: 4 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.206, allocations: 4 kB / 0.9804 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.206, allocations: 7.922 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.206, allocations: 0 / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.2064, allocations: 263.7 kB / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.2064, allocations: 7.984 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.2064, allocations: 25.7 kB / 0.9807 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2065, allocations: 59.84 kB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2065, allocations: 0 / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2065, allocations: 0 / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2065, allocations: 0 / 0.9807 GB, free: 26.45 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002703/0.2068, allocations: 347.4 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2069, allocations: 8.031 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.2069, allocations: 30.56 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.207, allocations: 7.906 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.207, allocations: 163.3 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2071, allocations: 0 / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.2071, allocations: 0 / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.743e-05/0.2072, allocations: 41.62 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2072, allocations: 8 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2072, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2072, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.2072, allocations: 4 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.2074, allocations: 161.6 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.198e-05/0.2074, allocations: 18.61 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.2074, allocations: 8.922 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.2081, allocations: 469.4 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.2081, allocations: 34.5 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2081, allocations: 7.938 kB / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004318/0.2085, allocations: 246.4 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.2086, allocations: 51.41 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.2086, allocations: 97.86 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2086, allocations: 25.7 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/0.2087, allocations: 80.14 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.2087, allocations: 16.14 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.2087, allocations: 4 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.2087, allocations: 318.8 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.2088, allocations: 0 / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.2088, allocations: 21.72 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.2088, allocations: 11.94 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2088, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.2089, allocations: 57.64 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2089, allocations: 4 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.209, allocations: 0 / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.209, allocations: 4 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.209, allocations: 7.984 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.209, allocations: 0 / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.2091, allocations: 4 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.2091, allocations: 0 / 0.9829 GB, free: 23.87 MB / 0.6198 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 () * Number of clocked 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 4.768e-05/0.2091, allocations: 113.7 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2092, allocations: 8.062 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.2093, allocations: 61.08 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2093, allocations: 0 / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2093, allocations: 0 / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2093, allocations: 0 / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.871e-05/0.2094, allocations: 153.7 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2094, allocations: 3.953 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.2095, allocations: 4 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2095, allocations: 4 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2095, allocations: 4 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2095, allocations: 0 / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2095, allocations: 0 / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2096, allocations: 77.06 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.2097, allocations: 85.05 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2097, allocations: 4.031 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.2097, allocations: 3.938 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.2098, allocations: 4.062 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.2098, allocations: 4 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.647e-05/0.2098, allocations: 75.28 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2098, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002025/0.21, allocations: 23.98 kB / 0.9835 GB, free: 23.15 MB / 0.6198 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 () * Number of clocked 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.0003752/0.2104, allocations: 0.6518 MB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.442e-05/0.2105, allocations: 15.98 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2105, allocations: 0 / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.2105, allocations: 15.92 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2107, allocations: 4 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.2111, allocations: 374.2 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2113, allocations: 0.677 MB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.2113, allocations: 4 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.2114, allocations: 11.44 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2114, allocations: 0 / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.2238, allocations: 1.542 MB / 0.9867 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.224, allocations: 230.8 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.743, allocations: 0 / 0.9869 GB, free: 19.73 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)