Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001308/0.001308, allocations: 196 kB / 376.9 MB, free: 1.801 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.296/1.296, allocations: 205 MB / 0.6354 GB, free: 9.805 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.0009345/0.0009346, allocations: 96.44 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009562/0.0009563, allocations: 67.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1994, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001847/0.2013, allocations: 0.6626 MB / 0.9829 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.202, allocations: 378.8 kB / 0.9832 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.223e-05/0.202, allocations: 0 / 0.9832 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2021, allocations: 0 / 0.9832 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.847e-05/0.2021, allocations: 0 / 0.9832 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.2025, allocations: 75.84 kB / 0.9833 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.2026, allocations: 4 kB / 0.9833 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.2026, allocations: 8 kB / 0.9833 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.2027, allocations: 3.984 kB / 0.9833 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.2027, allocations: 7.984 kB / 0.9833 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2028, allocations: 0 / 0.9833 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.2032, allocations: 275.6 kB / 0.9836 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.2032, allocations: 3.984 kB / 0.9836 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.2032, allocations: 0 / 0.9836 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.2034, allocations: 103.7 kB / 0.9837 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2034, allocations: 4 kB / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2034, allocations: 0 / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2034, allocations: 0 / 0.9837 GB, free: 8.871 MB / 0.7136 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.0004246/0.2039, allocations: 343.5 kB / 0.984 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2039, allocations: 8.031 kB / 0.984 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.204, allocations: 4.922 kB / 0.984 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2042, allocations: 168.4 kB / 0.9842 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2042, allocations: 384 / 0.9842 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.2042, allocations: 4.375 kB / 0.9842 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.2043, allocations: 38.25 kB / 0.9842 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2043, allocations: 4.188 kB / 0.9843 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2044, allocations: 3.938 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2044, allocations: 4 kB / 0.9843 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.2044, allocations: 3.984 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.2046, allocations: 157.9 kB / 0.9844 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.2047, allocations: 18.61 kB / 0.9844 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.2047, allocations: 16.92 kB / 0.9844 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/0.2055, allocations: 453.5 kB / 0.9849 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2055, allocations: 38.56 kB / 0.9849 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2055, allocations: 0 / 0.9849 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005504/0.2061, allocations: 258.2 kB / 0.9852 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2061, allocations: 51.41 kB / 0.9852 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.2062, allocations: 93.86 kB / 0.9853 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2062, allocations: 26.05 kB / 0.9853 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.2062, allocations: 88.14 kB / 0.9854 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2063, allocations: 11.89 kB / 0.9854 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.2063, allocations: 13.72 kB / 0.9854 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2064, allocations: 314.8 kB / 0.9857 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.2064, allocations: 11.88 kB / 0.9857 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.2065, allocations: 21.7 kB / 0.9858 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.2065, allocations: 25.72 kB / 0.9858 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2066, allocations: 0 / 0.9858 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.2067, allocations: 53.62 kB / 0.9858 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2067, allocations: 11.94 kB / 0.9859 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2067, allocations: 0 / 0.9859 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2067, allocations: 0 / 0.9859 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.2068, allocations: 4 kB / 0.9859 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2068, allocations: 4 kB / 0.9859 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.2068, allocations: 0 / 0.9859 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2068, allocations: 4.062 kB / 0.9859 GB, free: 6.285 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.2069, allocations: 117.8 kB / 0.986 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.2069, allocations: 11.78 kB / 0.986 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.2071, allocations: 57.11 kB / 0.986 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2071, allocations: 0 / 0.986 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2071, allocations: 0 / 0.986 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2071, allocations: 4 kB / 0.986 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2073, allocations: 157.7 kB / 0.9862 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.2073, allocations: 0 / 0.9862 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.2073, allocations: 4 kB / 0.9862 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2073, allocations: 3.938 kB / 0.9862 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2074, allocations: 0 / 0.9862 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2074, allocations: 3.984 kB / 0.9862 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2074, allocations: 0 / 0.9862 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.2082, allocations: 0.9075 MB / 0.9871 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2083, allocations: 77.11 kB / 0.9872 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-06/0.2083, allocations: 0 / 0.9872 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.2083, allocations: 4 kB / 0.9872 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.2083, allocations: 4.031 kB / 0.9872 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.2083, allocations: 96 / 0.9872 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.2084, allocations: 87.27 kB / 0.9873 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.332e-06/0.2084, allocations: 0 / 0.9873 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002738/0.2087, allocations: 23.94 kB / 0.9873 GB, free: 4.605 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002448/0.2089, allocations: 135.2 kB / 0.9874 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.209, allocations: 8 kB / 0.9874 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.209, allocations: 0 / 0.9874 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.209, allocations: 12.2 kB / 0.9874 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.2092, allocations: 11.94 kB / 0.9874 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.2095, allocations: 218.1 kB / 0.9877 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2097, allocations: 0.6809 MB / 0.9883 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.2098, allocations: 4 kB / 0.9883 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.2098, allocations: 11.44 kB / 0.9883 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.2098, allocations: 4 kB / 0.9883 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of Templates: time 0.002728/0.2125, allocations: 0.881 MB / 0.9892 GB, free: 2.578 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)