Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 174.2 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008487/0.000849, allocations: 79.98 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003165, allocations: 11.88 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007942/0.2069, allocations: 367.2 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.2076, allocations: 387.5 kB / 0.8975 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.2077, allocations: 0 / 0.8975 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.2077, allocations: 0 / 0.8975 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.2078, allocations: 3.938 kB / 0.8975 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.2082, allocations: 79.78 kB / 0.8976 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.2083, allocations: 23.98 kB / 0.8976 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2083, allocations: 0 / 0.8976 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.2084, allocations: 11.94 kB / 0.8976 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.2084, allocations: 15.92 kB / 0.8976 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2085, allocations: 3.984 kB / 0.8976 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.2088, allocations: 279.6 kB / 0.8979 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.2088, allocations: 0 / 0.8979 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.2088, allocations: 11.94 kB / 0.8979 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.209, allocations: 55.89 kB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.209, allocations: 8 kB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.209, allocations: 3.938 kB / 0.8979 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.209, allocations: 0 / 0.8979 GB, free: 66.97 MB / 0.6042 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.0003747/0.2094, allocations: 355.7 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2094, allocations: 12.03 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.2095, allocations: 0.9375 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.2096, allocations: 172.3 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2096, allocations: 4.375 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2096, allocations: 12.3 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2097, allocations: 54.25 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2097, allocations: 192 / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2098, allocations: 3.938 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2098, allocations: 0 / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/0.2098, allocations: 27.86 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.21, allocations: 161.7 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.2101, allocations: 62.53 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.2101, allocations: 28.86 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.2107, allocations: 461.5 kB / 0.8992 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2107, allocations: 34.56 kB / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2107, allocations: 0 / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001069/0.2118, allocations: 0.5917 MB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.2118, allocations: 63.34 kB / 0.8999 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.2119, allocations: 97.86 kB / 0.9 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2119, allocations: 29.7 kB / 0.9 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.2119, allocations: 84.22 kB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2119, allocations: 35.41 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.212, allocations: 21.7 kB / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.212, allocations: 318.8 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.212, allocations: 19.98 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.2121, allocations: 19.98 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.2122, allocations: 58.36 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2122, allocations: 0 / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001234/0.2123, allocations: 101.6 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2123, allocations: 8 kB / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2123, allocations: 0 / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2123, allocations: 3.984 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.2124, allocations: 16 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2125, allocations: 4 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.2125, allocations: 0 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.2125, allocations: 8 kB / 0.9007 GB, free: 63.75 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.2126, allocations: 117.8 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2126, allocations: 11.84 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.2127, allocations: 105.5 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2128, allocations: 0 / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2128, allocations: 0 / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2128, allocations: 0 / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2131, allocations: 366.3 kB / 0.9013 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2131, allocations: 7.984 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.2132, allocations: 16 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2132, allocations: 0 / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2132, allocations: 4 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2132, allocations: 0 / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2132, allocations: 0 / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2134, allocations: 219.4 kB / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.2135, allocations: 92.97 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2135, allocations: 4 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.2136, allocations: 12 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2136, allocations: 11.92 kB / 0.9016 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2136, allocations: 4 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.2136, allocations: 83.45 kB / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2136, allocations: 0 / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002375/0.2139, allocations: 43.98 kB / 0.9018 GB, free: 62.56 MB / 0.6042 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 (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.0002011/0.2141, allocations: 139.2 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2142, allocations: 66.48 kB / 0.902 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2142, allocations: 4 kB / 0.902 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.2143, allocations: 31.98 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.2145, allocations: 8.656 kB / 0.902 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.2148, allocations: 213.4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2149, allocations: 0.6848 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.2149, allocations: 19.44 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2149, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.002232/0.2172, allocations: 1.196 MB / 0.9041 GB, free: 60.15 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)