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.001068/0.001068, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001157/0.001157, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.402/1.402, allocations: 205.1 MB / 222.8 MB, free: 4.664 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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001383/0.001383, allocations: 69.75 kB / 0.6717 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2259, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002028/0.228, allocations: 0.6587 MB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006626/0.2287, allocations: 350.8 kB / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.2287, allocations: 0 / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.2287, allocations: 0 / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.2288, allocations: 0 / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2293, allocations: 96.59 kB / 0.7846 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.2294, allocations: 11.98 kB / 0.7846 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.2294, allocations: 4 kB / 0.7846 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.2294, allocations: 3.938 kB / 0.7846 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.2295, allocations: 4 kB / 0.7846 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2295, allocations: 3.938 kB / 0.7846 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.2299, allocations: 283.6 kB / 0.7849 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.2299, allocations: 0 / 0.7849 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.2299, allocations: 3.938 kB / 0.7849 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2301, allocations: 63.89 kB / 0.785 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2301, allocations: 7.938 kB / 0.785 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2301, allocations: 0 / 0.785 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2301, allocations: 0 / 0.785 GB, free: 12.41 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.0003657/0.2305, allocations: 339.6 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2305, allocations: 8.031 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.2306, allocations: 4.844 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2307, allocations: 168.6 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2307, allocations: 384 / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2307, allocations: 4.375 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2308, allocations: 38.25 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2309, allocations: 192 / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2309, allocations: 3.938 kB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2309, allocations: 0 / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.2309, allocations: 7.938 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2311, allocations: 153.7 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.2311, allocations: 22.61 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.2312, allocations: 12.92 kB / 0.7857 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.2319, allocations: 453.5 kB / 0.7861 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.232, allocations: 46.5 kB / 0.7862 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.232, allocations: 0 / 0.7862 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.2325, allocations: 251.3 kB / 0.7864 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2326, allocations: 51.41 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.2326, allocations: 101.8 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2326, allocations: 26.05 kB / 0.7866 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.2327, allocations: 88.08 kB / 0.7867 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2327, allocations: 3.906 kB / 0.7867 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.2328, allocations: 17.72 kB / 0.7867 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2329, allocations: 318.8 kB / 0.787 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.2329, allocations: 8 kB / 0.787 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.2329, allocations: 13.72 kB / 0.787 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.233, allocations: 25.72 kB / 0.787 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.233, allocations: 0 / 0.787 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.2331, allocations: 57.62 kB / 0.7871 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2331, allocations: 11.94 kB / 0.7871 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2331, allocations: 0 / 0.7871 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2331, allocations: 0 / 0.7871 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.2332, allocations: 7.984 kB / 0.7871 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2332, allocations: 4 kB / 0.7871 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.2332, allocations: 4.062 kB / 0.7871 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2333, allocations: 0 / 0.7871 GB, free: 9.832 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 7.123e-05/0.2333, allocations: 109.8 kB / 0.7872 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2334, allocations: 7.875 kB / 0.7872 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.2335, allocations: 65.16 kB / 0.7873 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2335, allocations: 0 / 0.7873 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2335, allocations: 0 / 0.7873 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2336, allocations: 11.98 kB / 0.7873 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.432e-05/0.2337, allocations: 153.7 kB / 0.7875 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2337, allocations: 4 kB / 0.7875 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.2337, allocations: 4 kB / 0.7875 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2337, allocations: 3.938 kB / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2337, allocations: 0 / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2338, allocations: 0 / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2338, allocations: 0 / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2339, allocations: 85.06 kB / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.234, allocations: 85.03 kB / 0.7876 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.234, allocations: 3.938 kB / 0.7876 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.234, allocations: 0 / 0.7876 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.2341, allocations: 4.031 kB / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2341, allocations: 0 / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.2341, allocations: 75.28 kB / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2341, allocations: 4 kB / 0.7877 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002128/0.2343, allocations: 23.98 kB / 0.7877 GB, free: 9.094 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.0002246/0.2346, allocations: 123.4 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.34e-05/0.2347, allocations: 23.92 kB / 0.7879 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2347, allocations: 0 / 0.7879 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.2347, allocations: 8 kB / 0.7879 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2348, allocations: 0 / 0.7879 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.2351, allocations: 143.2 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2353, allocations: 0.6769 MB / 0.7887 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.2354, allocations: 11.44 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.2354, allocations: 0 / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.002268/0.2377, allocations: 0.776 MB / 0.7894 GB, free: 7.27 MB / 0.6075 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)