Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.776/2.776, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 185.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 86.98 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 14.23 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2178, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007488/0.2186, allocations: 329.8 kB / 0.9785 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006761/0.2193, allocations: 308.9 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.2193, allocations: 0 / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.2193, allocations: 0 / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.2194, allocations: 7.922 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.2199, allocations: 75.83 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.678e-05/0.2199, allocations: 7.922 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.22, allocations: 4 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.22, allocations: 3.938 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.2201, allocations: 8 kB / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2201, allocations: 0 / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.2206, allocations: 255.7 kB / 0.9792 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.2206, allocations: 3.984 kB / 0.9792 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2206, allocations: 25.7 kB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2208, allocations: 55.89 kB / 0.9792 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2208, allocations: 4 kB / 0.9792 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2208, allocations: 3.938 kB / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2208, allocations: 4 kB / 0.9792 GB, free: 27.3 MB / 0.6198 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.0002926/0.2211, allocations: 339.4 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2211, allocations: 12.02 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.2212, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.2213, allocations: 170.9 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2213, allocations: 3.984 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2214, allocations: 0 / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.2215, allocations: 37.7 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2215, allocations: 0 / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2215, allocations: 3.938 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2215, allocations: 4 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.2216, allocations: 0 / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.2217, allocations: 161.9 kB / 0.9799 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.2218, allocations: 22.55 kB / 0.98 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008836/0.2227, allocations: 465.5 kB / 0.9804 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2227, allocations: 34.56 kB / 0.9804 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2228, allocations: 4 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005696/0.2233, allocations: 246.3 kB / 0.9807 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2234, allocations: 51.41 kB / 0.9807 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.2234, allocations: 97.86 kB / 0.9808 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2235, allocations: 29.69 kB / 0.9809 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.2235, allocations: 80.48 kB / 0.9809 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2235, allocations: 15.81 kB / 0.9809 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.2236, allocations: 4 kB / 0.981 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.2236, allocations: 310.8 kB / 0.9812 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.2237, allocations: 7.938 kB / 0.9813 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.2237, allocations: 25.64 kB / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.2237, allocations: 7.953 kB / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2238, allocations: 0 / 0.9813 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.2239, allocations: 53.69 kB / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2239, allocations: 4 kB / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2239, allocations: 4 kB / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.224, allocations: 0 / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.2241, allocations: 11.94 kB / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2241, allocations: 4 kB / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.2241, allocations: 0 / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.2241, allocations: 0 / 0.9814 GB, free: 24.78 MB / 0.6198 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.344e-05/0.2242, allocations: 113.8 kB / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.2242, allocations: 4.062 kB / 0.9815 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2244, allocations: 57.17 kB / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2244, allocations: 0 / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2244, allocations: 0 / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2245, allocations: 3.938 kB / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.715e-05/0.2246, allocations: 153.6 kB / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2246, allocations: 4.141 kB / 0.9817 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.088e-05/0.2247, allocations: 12 kB / 0.9817 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2247, allocations: 4 kB / 0.9817 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2247, allocations: 3.984 kB / 0.9817 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2247, allocations: 0 / 0.9817 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2247, allocations: 0 / 0.9817 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.2249, allocations: 77.02 kB / 0.9818 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.2249, allocations: 89.09 kB / 0.9819 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.225, allocations: 0 / 0.9819 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.225, allocations: 0 / 0.9819 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.225, allocations: 4.062 kB / 0.9819 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2251, allocations: 4 kB / 0.9819 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.2251, allocations: 79.27 kB / 0.9819 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2251, allocations: 3.938 kB / 0.9819 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002847/0.2254, allocations: 24 kB / 0.982 GB, free: 24.05 MB / 0.6198 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.0002272/0.2256, allocations: 131.2 kB / 0.9821 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.2257, allocations: 8 kB / 0.9821 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2258, allocations: 4.219 kB / 0.9821 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.2258, allocations: 19.92 kB / 0.9821 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.226, allocations: 0 / 0.9821 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.2262, allocations: 116.9 kB / 0.9822 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2263, allocations: 0.6809 MB / 0.9829 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.2264, allocations: 3.938 kB / 0.9829 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.2264, allocations: 15.44 kB / 0.9829 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2264, allocations: 0 / 0.9829 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.003599/0.23, allocations: 0.8417 MB / 0.9837 GB, free: 22.19 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)