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.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001149/0.001149, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.306/1.306, allocations: 205.1 MB / 222 MB, free: 5.008 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.695/1.695, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001212/0.001212, allocations: 67.14 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2088, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002185/0.211, allocations: 0.6664 MB / 0.7833 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.2119, allocations: 374.8 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.212, allocations: 0 / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.212, allocations: 3.938 kB / 0.7837 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.197e-05/0.212, allocations: 0 / 0.7837 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.2125, allocations: 79.78 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.299e-05/0.2126, allocations: 8 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.2126, allocations: 4 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.2126, allocations: 3.984 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.2127, allocations: 8 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.2127, allocations: 0 / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.2133, allocations: 271.7 kB / 0.784 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.2133, allocations: 7.969 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.2133, allocations: 7.938 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.2136, allocations: 91.86 kB / 0.7841 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2136, allocations: 0 / 0.7841 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2136, allocations: 0 / 0.7841 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.2136, allocations: 0 / 0.7841 GB, free: 12.47 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.0004084/0.214, allocations: 347.5 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2141, allocations: 12.02 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.2141, allocations: 0.9375 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2143, allocations: 168.3 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-06/0.2143, allocations: 384 / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.2143, allocations: 4.375 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.2144, allocations: 38.25 kB / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2144, allocations: 192 / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2145, allocations: 3.938 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2145, allocations: 4 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.2145, allocations: 0 / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.2146, allocations: 154 kB / 0.7848 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.2147, allocations: 26.55 kB / 0.7849 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.2147, allocations: 8.922 kB / 0.7849 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009157/0.2156, allocations: 453.5 kB / 0.7853 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2157, allocations: 46.5 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2157, allocations: 0 / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006506/0.2164, allocations: 258.2 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2164, allocations: 51.41 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.2165, allocations: 98.08 kB / 0.7857 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2165, allocations: 29.83 kB / 0.7858 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.2166, allocations: 80.14 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.2166, allocations: 11.89 kB / 0.7859 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.2167, allocations: 13.72 kB / 0.7859 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2168, allocations: 314.8 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.2168, allocations: 8 kB / 0.7862 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.2169, allocations: 21.64 kB / 0.7862 GB, free: 10 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.217, allocations: 25.72 kB / 0.7862 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.217, allocations: 0 / 0.7862 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001487/0.2171, allocations: 53.62 kB / 0.7863 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2171, allocations: 11.94 kB / 0.7863 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2172, allocations: 3.938 kB / 0.7863 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2172, allocations: 0 / 0.7863 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.2173, allocations: 8 kB / 0.7863 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2173, allocations: 4 kB / 0.7863 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.2173, allocations: 4.062 kB / 0.7863 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2173, allocations: 0 / 0.7863 GB, free: 9.879 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.583e-05/0.2174, allocations: 109.8 kB / 0.7864 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.2175, allocations: 11.97 kB / 0.7864 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.2176, allocations: 61.11 kB / 0.7865 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2177, allocations: 0 / 0.7865 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2177, allocations: 0 / 0.7865 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2177, allocations: 8 kB / 0.7865 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2178, allocations: 149.7 kB / 0.7866 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2178, allocations: 0 / 0.7866 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.2179, allocations: 8 kB / 0.7866 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.2179, allocations: 3.938 kB / 0.7866 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2179, allocations: 4 kB / 0.7867 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2179, allocations: 3.984 kB / 0.7867 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.218, allocations: 0 / 0.7867 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.2181, allocations: 81.06 kB / 0.7867 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2182, allocations: 77.11 kB / 0.7868 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2182, allocations: 11.88 kB / 0.7868 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.2183, allocations: 0 / 0.7868 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2183, allocations: 8.016 kB / 0.7868 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2183, allocations: 0 / 0.7868 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.2184, allocations: 79.28 kB / 0.7869 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2184, allocations: 0 / 0.7869 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003886/0.2188, allocations: 20 kB / 0.7869 GB, free: 9.145 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.0002418/0.219, allocations: 131.4 kB / 0.787 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.2191, allocations: 15.98 kB / 0.7871 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2191, allocations: 0 / 0.7871 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.2192, allocations: 15.94 kB / 0.7871 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2194, allocations: 0 / 0.7871 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.2197, allocations: 112.3 kB / 0.7872 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.2199, allocations: 0.6849 MB / 0.7879 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.22, allocations: 4 kB / 0.7879 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.22, allocations: 7.438 kB / 0.7879 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.22, allocations: 4 kB / 0.7879 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.003703/0.2237, allocations: 0.8559 MB / 0.7887 GB, free: 7.258 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)