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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007581/0.007581, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.296/1.296, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.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.67/1.67, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005989/0.0005989, allocations: 17.28 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2115, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006515/0.2122, allocations: 327.5 kB / 0.7882 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000658/0.2129, allocations: 362.9 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.2129, allocations: 3.938 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.2129, allocations: 0 / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.599e-05/0.213, allocations: 0 / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2133, allocations: 75.84 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.2134, allocations: 15.92 kB / 0.7886 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.2134, allocations: 4 kB / 0.7886 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.2134, allocations: 3.938 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.2135, allocations: 7.984 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2135, allocations: 0 / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.2138, allocations: 279.6 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.2139, allocations: 0 / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.2139, allocations: 33.64 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.214, allocations: 95.83 kB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2141, allocations: 4 kB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2141, allocations: 0 / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.2141, allocations: 0 / 0.7891 GB, free: 10.35 MB / 0.6075 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.0002916/0.2144, allocations: 331.6 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.2144, allocations: 8.031 kB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.2145, allocations: 4.938 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.2146, allocations: 164.3 kB / 0.7895 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2146, allocations: 4.375 kB / 0.7895 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2146, allocations: 384 / 0.7895 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.2147, allocations: 42.25 kB / 0.7896 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.2147, allocations: 192 / 0.7896 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2147, allocations: 3.938 kB / 0.7896 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2147, allocations: 3.938 kB / 0.7896 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.2147, allocations: 3.938 kB / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.2149, allocations: 154 kB / 0.7897 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.2149, allocations: 22.61 kB / 0.7898 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.215, allocations: 12.92 kB / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.2156, allocations: 465.5 kB / 0.7902 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2157, allocations: 30.56 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2157, allocations: 0 / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004744/0.2161, allocations: 258.3 kB / 0.7905 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2162, allocations: 55.34 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.2162, allocations: 102.1 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2163, allocations: 25.7 kB / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.2163, allocations: 80.14 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2163, allocations: 15.81 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.2163, allocations: 9.719 kB / 0.7908 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.2164, allocations: 310.8 kB / 0.7911 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.2165, allocations: 11.98 kB / 0.7911 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.2165, allocations: 17.66 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.2166, allocations: 29.84 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2166, allocations: 0 / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.718e-05/0.2167, allocations: 57.62 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2167, allocations: 7.938 kB / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2167, allocations: 0 / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2167, allocations: 4 kB / 0.7912 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.2168, allocations: 4 kB / 0.7912 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2168, allocations: 4.062 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.2168, allocations: 0 / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2168, allocations: 7.984 kB / 0.7912 GB, free: 7.773 MB / 0.6075 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 6.16e-05/0.2169, allocations: 109.8 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2169, allocations: 7.938 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.217, allocations: 53.19 kB / 0.7914 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.217, allocations: 0 / 0.7914 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.217, allocations: 8 kB / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2171, allocations: 0 / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.2172, allocations: 157.6 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2172, allocations: 0 / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.2172, allocations: 7.984 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.2172, allocations: 7.938 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.2172, allocations: 0 / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2172, allocations: 0 / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2173, allocations: 3.938 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.2174, allocations: 81.03 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.2174, allocations: 77.11 kB / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2174, allocations: 7.969 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.2175, allocations: 3.984 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.2175, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2175, allocations: 4 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.2176, allocations: 75.28 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2176, allocations: 0 / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002005/0.2178, allocations: 24.16 kB / 0.7918 GB, free: 7.047 MB / 0.6075 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.0001811/0.218, allocations: 135.2 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.218, allocations: 19.92 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2181, allocations: 0 / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.2181, allocations: 8 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2182, allocations: 10.89 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.2184, allocations: 115.4 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2187, allocations: 0.6811 MB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.2187, allocations: 3.938 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.2187, allocations: 11.44 kB / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2187, allocations: 0 / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of Templates: time 0.002732/0.2215, allocations: 0.8616 MB / 0.7936 GB, free: 5.152 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: