Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.325/2.325, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 172.3 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.4 MB / 0.5767 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009185/0.0009183, allocations: 92.09 kB / 0.6812 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007142/0.0007144, allocations: 13.94 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.224, allocations: 106.3 MB / 0.8991 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007628/0.2249, allocations: 330.7 kB / 0.8994 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.2256, allocations: 324.2 kB / 0.8997 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.2256, allocations: 0 / 0.8997 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.2257, allocations: 0 / 0.8997 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.2257, allocations: 0 / 0.8997 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.2262, allocations: 79.84 kB / 0.8998 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.2262, allocations: 11.92 kB / 0.8998 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.2263, allocations: 0 / 0.8998 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.2263, allocations: 0 / 0.8998 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.2264, allocations: 12 kB / 0.8998 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2264, allocations: 0 / 0.8998 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.2269, allocations: 267.7 kB / 0.9 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.227, allocations: 7.969 kB / 0.9 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.227, allocations: 29.64 kB / 0.9001 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.2272, allocations: 51.91 kB / 0.9001 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2272, allocations: 0 / 0.9001 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2272, allocations: 0 / 0.9001 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2272, allocations: 0 / 0.9001 GB, free: 64.8 MB / 0.6042 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.00033/0.2275, allocations: 347.5 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2276, allocations: 12.03 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.2277, allocations: 0.9375 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.2278, allocations: 168.3 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2278, allocations: 4.375 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.2278, allocations: 384 / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.2279, allocations: 34.27 kB / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.228, allocations: 192 / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.228, allocations: 3.938 kB / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.228, allocations: 3.938 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.228, allocations: 15.92 kB / 0.9007 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2282, allocations: 149.7 kB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.2282, allocations: 22.59 kB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.2283, allocations: 4.859 kB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000921/0.2292, allocations: 465.5 kB / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2293, allocations: 30.56 kB / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.2293, allocations: 0 / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006753/0.23, allocations: 258.4 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.23, allocations: 59.39 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.2301, allocations: 89.86 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2301, allocations: 25.7 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.2302, allocations: 84.14 kB / 0.9018 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2302, allocations: 7.906 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.2302, allocations: 3.938 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.2303, allocations: 315 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.2303, allocations: 7.984 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.2303, allocations: 21.75 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.2304, allocations: 8 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2304, allocations: 4 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.2306, allocations: 49.62 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2306, allocations: 11.94 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2306, allocations: 4.062 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2306, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2307, allocations: 8 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2308, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.2308, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2308, allocations: 4 kB / 0.9022 GB, free: 62.26 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.2309, allocations: 109.8 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.231, allocations: 7.844 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.2311, allocations: 65.06 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2311, allocations: 7.938 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2312, allocations: 0 / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2312, allocations: 0 / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.517e-05/0.2313, allocations: 157.6 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2313, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.2314, allocations: 7.984 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2314, allocations: 3.938 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2314, allocations: 0 / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2314, allocations: 0 / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2314, allocations: 8 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2316, allocations: 73.12 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.2317, allocations: 77.11 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2317, allocations: 7.938 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.2317, allocations: 7.922 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.2318, allocations: 4.031 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2318, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.2318, allocations: 83.34 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2318, allocations: 0 / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002676/0.2321, allocations: 20 kB / 0.9029 GB, free: 61.53 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.2324, allocations: 127.2 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.2325, allocations: 19.98 kB / 0.903 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2325, allocations: 0 / 0.903 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.2325, allocations: 7.938 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.2327, allocations: 8.219 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.233, allocations: 112.6 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2331, allocations: 0.677 MB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.2332, allocations: 3.938 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.2332, allocations: 11.44 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.2332, allocations: 0 / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.003745/0.237, allocations: 0.8495 MB / 0.9046 GB, free: 59.66 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)