Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 107.8 kB / 16.36 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.8 kB / 17.3 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.47 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2189, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002081/0.2211, allocations: 0.6254 MB / 0.7854 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.2218, allocations: 350.7 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.2219, allocations: 0 / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.2219, allocations: 7.938 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.2219, allocations: 0 / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.2225, allocations: 115.6 kB / 0.7859 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.2226, allocations: 23.92 kB / 0.7859 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.2226, allocations: 7.984 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.2227, allocations: 11.98 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.2227, allocations: 15.92 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2228, allocations: 0 / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.2232, allocations: 271.7 kB / 0.7862 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.2232, allocations: 4 kB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.2232, allocations: 19.84 kB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2234, allocations: 103.8 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2234, allocations: 0 / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2234, allocations: 0 / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2235, allocations: 4 kB / 0.7863 GB, free: 1.637 MB / 0.6544 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.000436/0.2239, allocations: 359.4 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2239, allocations: 8.031 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.224, allocations: 4.938 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2241, allocations: 172.2 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2242, allocations: 8.375 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.2242, allocations: 4.375 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.2243, allocations: 50.23 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2243, allocations: 4.188 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2244, allocations: 3.938 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2244, allocations: 4 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.2244, allocations: 19.98 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.2246, allocations: 165.6 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2247, allocations: 58.5 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.2248, allocations: 24.84 kB / 0.7871 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/0.2255, allocations: 465.5 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2255, allocations: 30.56 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2255, allocations: 0 / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.351/0.5766, allocations: 0.5851 MB / 0.7882 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.5766, allocations: 53.7 kB / 0.7882 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.5767, allocations: 102.4 kB / 0.7883 GB, free: 49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5767, allocations: 27.86 kB / 0.7884 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.5767, allocations: 83.3 kB / 0.7884 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.5768, allocations: 45.91 kB / 0.7885 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.5768, allocations: 32.2 kB / 0.7885 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.5769, allocations: 314 kB / 0.7888 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.5769, allocations: 21.95 kB / 0.7888 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.577, allocations: 21.98 kB / 0.7889 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.217e-05/0.5771, allocations: 63.17 kB / 0.7889 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5771, allocations: 1.344 kB / 0.7889 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001392/0.5772, allocations: 101.5 kB / 0.789 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5772, allocations: 6.5 kB / 0.789 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5772, allocations: 0.5938 kB / 0.789 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5773, allocations: 0.625 kB / 0.789 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5774, allocations: 27.5 kB / 0.789 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.5774, allocations: 3.828 kB / 0.7891 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.5774, allocations: 6.156 kB / 0.7891 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.5774, allocations: 5.188 kB / 0.7891 GB, free: 48.49 MB / 0.6544 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 6.767e-05/0.5775, allocations: 117.8 kB / 0.7892 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5775, allocations: 7.453 kB / 0.7892 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.5777, allocations: 105.5 kB / 0.7893 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5777, allocations: 0 / 0.7893 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5777, allocations: 0 / 0.7893 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5778, allocations: 7.453 kB / 0.7893 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.5781, allocations: 351.5 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5781, allocations: 0 / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5782, allocations: 23.16 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5782, allocations: 0 / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.5782, allocations: 3.25 kB / 0.7896 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5782, allocations: 4.25 kB / 0.7897 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5782, allocations: 0 / 0.7897 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.5785, allocations: 225 kB / 0.7899 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.5785, allocations: 93.97 kB / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.5785, allocations: 3.125 kB / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.5786, allocations: 2.219 kB / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.5786, allocations: 11.11 kB / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-06/0.5786, allocations: 2.656 kB / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.5787, allocations: 82.03 kB / 0.7901 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5787, allocations: 0 / 0.7901 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002786/0.579, allocations: 47.89 kB / 0.7901 GB, free: 47.73 MB / 0.6544 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.000231/0.5792, allocations: 139 kB / 0.7902 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.5794, allocations: 73.58 kB / 0.7903 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5794, allocations: 0 / 0.7903 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.5794, allocations: 34.78 kB / 0.7903 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.5797, allocations: 6.938 kB / 0.7903 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.58, allocations: 163.7 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.5802, allocations: 0.686 MB / 0.7912 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.974e-05/0.5803, allocations: 11.92 kB / 0.7912 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.5803, allocations: 14.66 kB / 0.7912 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.5803, allocations: 0 / 0.7912 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.003614/0.5839, allocations: 1.406 MB / 0.7926 GB, free: 46.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)