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.001124/0.001124, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.164/1.164, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.542/1.542, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001284/0.001284, allocations: 68.3 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1787, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00158/0.1803, allocations: 0.5931 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.1809, allocations: 342.7 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.1809, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.181, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.444e-05/0.181, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1814, allocations: 118.8 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.918e-05/0.1814, allocations: 4 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1815, allocations: 7.984 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.1815, allocations: 7.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.1816, allocations: 4 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1816, allocations: 7.984 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.1819, allocations: 267.6 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1819, allocations: 11.94 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.1819, allocations: 3.938 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1821, allocations: 91.84 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1821, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1821, allocations: 4 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1821, allocations: 0 / 0.7855 GB, free: 11.29 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.0002941/0.1824, allocations: 339.6 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.1825, allocations: 12.03 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1825, allocations: 8.844 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.1826, allocations: 168.3 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1826, allocations: 4.375 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1826, allocations: 384 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1828, allocations: 42.19 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1828, allocations: 192 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1828, allocations: 7.938 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1828, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1828, allocations: 4 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.183, allocations: 153.7 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.183, allocations: 18.61 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.183, allocations: 12.86 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/0.1837, allocations: 465.4 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1837, allocations: 30.56 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1837, allocations: 4 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004054/0.1841, allocations: 254.2 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1841, allocations: 55.41 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.1842, allocations: 97.84 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1842, allocations: 25.7 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.1843, allocations: 80.14 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1843, allocations: 7.906 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1843, allocations: 18.06 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.1844, allocations: 322.8 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.1844, allocations: 0 / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.1844, allocations: 17.72 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.1845, allocations: 29.66 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1845, allocations: 0 / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.876e-05/0.1846, allocations: 53.69 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1846, allocations: 7.938 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1846, allocations: 4 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1846, allocations: 3.938 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.1847, allocations: 7.984 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1847, allocations: 4 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.1847, allocations: 3.938 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1847, allocations: 0 / 0.7877 GB, free: 8.699 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 5.591e-05/0.1848, allocations: 114.6 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1848, allocations: 3.938 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.1849, allocations: 57.09 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1849, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.185, allocations: 3.938 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.185, allocations: 3.984 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.962e-05/0.185, allocations: 153.6 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1851, allocations: 3.984 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.1851, allocations: 8 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1851, allocations: 7.938 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1851, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1851, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1851, allocations: 4 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1853, allocations: 77.16 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1853, allocations: 77.11 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1853, allocations: 7.922 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.1854, allocations: 0 / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.1854, allocations: 8.062 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1854, allocations: 0 / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.1854, allocations: 79.22 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1854, allocations: 0 / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000197/0.1856, allocations: 27.98 kB / 0.7883 GB, free: 7.965 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.0001722/0.1858, allocations: 123.2 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.743e-05/0.1859, allocations: 20.14 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1859, allocations: 4.062 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.1859, allocations: 11.94 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.186, allocations: 0 / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.1863, allocations: 114.1 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1865, allocations: 0.6768 MB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.1865, allocations: 7.938 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.1865, allocations: 11.44 kB / 0.7893 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1865, allocations: 0 / 0.7893 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.002549/0.1891, allocations: 0.8756 MB / 0.7901 GB, free: 6.062 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)