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.001094/0.0011, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001134/0.001135, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.602/1.602, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.852/1.852, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001447/0.001447, allocations: 71.89 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2644, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001962/0.2664, allocations: 0.5825 MB / 0.7846 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.2671, allocations: 346.7 kB / 0.7849 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.2671, allocations: 4 kB / 0.7849 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.2671, allocations: 0 / 0.7849 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.784e-05/0.2672, allocations: 0 / 0.7849 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.2676, allocations: 111.6 kB / 0.7851 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.539e-05/0.2677, allocations: 11.94 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.2678, allocations: 4 kB / 0.7851 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.2678, allocations: 0 / 0.7851 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.2678, allocations: 7.984 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2679, allocations: 4 kB / 0.7851 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.2682, allocations: 275.7 kB / 0.7853 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2683, allocations: 3.984 kB / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.2683, allocations: 11.92 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2685, allocations: 87.86 kB / 0.7854 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2685, allocations: 0 / 0.7854 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2685, allocations: 0 / 0.7854 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2685, allocations: 0 / 0.7854 GB, free: 2.422 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003922/0.2689, allocations: 339.5 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2689, allocations: 8.031 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.269, allocations: 12.88 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2692, allocations: 180.5 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2692, allocations: 384 / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2692, allocations: 384 / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.2693, allocations: 34.2 kB / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2693, allocations: 192 / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2693, allocations: 3.938 kB / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2693, allocations: 7.984 kB / 0.786 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.2694, allocations: 0 / 0.786 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.2695, allocations: 153.7 kB / 0.7861 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.2696, allocations: 26.59 kB / 0.7862 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.2696, allocations: 8.922 kB / 0.7862 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007338/0.2704, allocations: 461.4 kB / 0.7866 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2704, allocations: 34.56 kB / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2704, allocations: 0 / 0.7867 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005415/0.271, allocations: 254.3 kB / 0.7869 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.271, allocations: 55.62 kB / 0.7869 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.2711, allocations: 93.86 kB / 0.787 GB, free: 464 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2711, allocations: 29.7 kB / 0.7871 GB, free: 428 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.2711, allocations: 80.14 kB / 0.7871 GB, free: 344 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2712, allocations: 11.81 kB / 0.7872 GB, free: 332 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.2712, allocations: 17.7 kB / 0.7872 GB, free: 308 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3751/0.6463, allocations: 314.8 kB / 0.7875 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.6464, allocations: 2.094 kB / 0.7875 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.6465, allocations: 22.52 kB / 0.7875 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.6466, allocations: 25.94 kB / 0.7875 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6466, allocations: 0 / 0.7875 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001662/0.6468, allocations: 53.06 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6468, allocations: 6.875 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6468, allocations: 0 / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6468, allocations: 2.219 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.6469, allocations: 8.938 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6469, allocations: 8.422 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.647, allocations: 3.719 kB / 0.7876 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.647, allocations: 0.875 kB / 0.7876 GB, free: 48.49 MB / 0.6544 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.944e-05/0.6471, allocations: 110.2 kB / 0.7877 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.6471, allocations: 2.656 kB / 0.7877 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.6472, allocations: 54.42 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6472, allocations: 4.031 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6473, allocations: 8.188 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6473, allocations: 3.562 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.521e-05/0.6474, allocations: 151.2 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6474, allocations: 2.531 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.6474, allocations: 6.094 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6474, allocations: 2.875 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.6474, allocations: 3.172 kB / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6475, allocations: 0 / 0.7879 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6475, allocations: 4.688 kB / 0.7879 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.6476, allocations: 83.2 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.6476, allocations: 84.81 kB / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.6477, allocations: 0 / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.6477, allocations: 0 / 0.7881 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.6477, allocations: 9.844 kB / 0.7881 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.6477, allocations: 0 / 0.7881 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.159e-05/0.6478, allocations: 82.11 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6478, allocations: 2.062 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002316/0.648, allocations: 24.06 kB / 0.7882 GB, free: 47.91 MB / 0.6544 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.0002088/0.6482, allocations: 125 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.6483, allocations: 22.69 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6483, allocations: 0.5312 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.6484, allocations: 10.12 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.6485, allocations: 2.656 kB / 0.7884 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.6488, allocations: 140 kB / 0.7885 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.6489, allocations: 0.6749 MB / 0.7892 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.6489, allocations: 11.97 kB / 0.7892 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6489, allocations: 0 / 0.7892 GB, free: 47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002138/0.6511, allocations: 0.7657 MB / 0.7899 GB, free: 46.99 MB / 0.6544 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)