Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001109/0.001109, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00122/0.001219, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5723/0.5723, allocations: 95.58 MB / 366 MB, free: 10.43 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005745/0.0005746, allocations: 16 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2992, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007501/0.3, allocations: 289.7 kB / 0.5053 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005475/0.3006, allocations: 300.8 kB / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.3006, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3007, allocations: 3.938 kB / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.3007, allocations: 0 / 0.5056 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3011, allocations: 63.78 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.3011, allocations: 8 kB / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.3012, allocations: 0 / 0.5056 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.3012, allocations: 8 kB / 0.5057 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.3013, allocations: 0 / 0.5057 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3013, allocations: 0 / 0.5057 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.3016, allocations: 223.7 kB / 0.5059 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.3016, allocations: 3.938 kB / 0.5059 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.3017, allocations: 29.7 kB / 0.5059 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3018, allocations: 55.91 kB / 0.5059 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3018, allocations: 0 / 0.5059 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3018, allocations: 0 / 0.5059 GB, free: 15.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3018, allocations: 0 / 0.5059 GB, free: 15.55 MB / 382.1 MB 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.0002368/0.3021, allocations: 343.3 kB / 0.5063 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.3021, allocations: 19.92 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.3021, allocations: 0 / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.3022, allocations: 159.1 kB / 0.5064 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3022, allocations: 4 kB / 0.5065 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3023, allocations: 0 / 0.5065 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/0.3024, allocations: 41.64 kB / 0.5065 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3024, allocations: 0 / 0.5065 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3024, allocations: 0 / 0.5065 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3024, allocations: 4 kB / 0.5065 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.3024, allocations: 7.938 kB / 0.5065 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3026, allocations: 155.7 kB / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.3026, allocations: 18.58 kB / 0.5067 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.3032, allocations: 465.5 kB / 0.5071 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3032, allocations: 34.56 kB / 0.5071 GB, free: 14.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3033, allocations: 4 kB / 0.5071 GB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004388/0.3037, allocations: 258.4 kB / 0.5074 GB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.3037, allocations: 51.41 kB / 0.5074 GB, free: 13.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.3038, allocations: 97.8 kB / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3038, allocations: 29.7 kB / 0.5076 GB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.3038, allocations: 80.14 kB / 0.5076 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.3038, allocations: 11.83 kB / 0.5077 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.3039, allocations: 4 kB / 0.5077 GB, free: 13.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.3039, allocations: 310.8 kB / 0.508 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.3039, allocations: 8.125 kB / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.3039, allocations: 25.73 kB / 0.508 GB, free: 13.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.767e-05/0.304, allocations: 8 kB / 0.508 GB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.304, allocations: 0 / 0.508 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.762e-05/0.3041, allocations: 49.64 kB / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3041, allocations: 6.188 kB / 0.508 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3041, allocations: 11.94 kB / 0.5081 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3041, allocations: 4.062 kB / 0.5081 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.3042, allocations: 8 kB / 0.5081 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3042, allocations: 0 / 0.5081 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.3042, allocations: 4 kB / 0.5081 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3042, allocations: 7.938 kB / 0.5081 GB, free: 13.02 MB / 382.1 MB 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 4.465e-05/0.3042, allocations: 105.8 kB / 0.5082 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.3043, allocations: 3.906 kB / 0.5082 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.3044, allocations: 57.11 kB / 0.5082 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3044, allocations: 11.95 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3044, allocations: 0 / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3044, allocations: 0 / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.786e-05/0.3045, allocations: 153.7 kB / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3045, allocations: 0 / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.3045, allocations: 4 kB / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3045, allocations: 0 / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3045, allocations: 0 / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3045, allocations: 0 / 0.5084 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3045, allocations: 7.953 kB / 0.5084 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.3047, allocations: 85.05 kB / 0.5085 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.3047, allocations: 77.11 kB / 0.5086 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3047, allocations: 0 / 0.5086 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.3047, allocations: 0 / 0.5086 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.3048, allocations: 15.92 kB / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3048, allocations: 0 / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.3048, allocations: 79.28 kB / 0.5087 GB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3048, allocations: 0 / 0.5087 GB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.305, allocations: 28.14 kB / 0.5087 GB, free: 12.29 MB / 382.1 MB 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.0001468/0.3052, allocations: 123.2 kB / 0.5088 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.3053, allocations: 12 kB / 0.5088 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3053, allocations: 4 kB / 0.5088 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.3053, allocations: 7.938 kB / 0.5088 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.3054, allocations: 4 kB / 0.5088 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.3056, allocations: 112.8 kB / 0.5089 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3057, allocations: 0.6809 MB / 0.5096 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.3058, allocations: 3.984 kB / 0.5096 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.3058, allocations: 11.44 kB / 0.5096 GB, free: 11.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3058, allocations: 0 / 0.5096 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Templates: time 0.003239/0.309, allocations: 0.8156 MB / 0.5104 GB, free: 10.46 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: