Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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.0009848/0.000985, allocations: 99.34 kB / 16.02 MB, free: 72 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.001276/0.001276, allocations: 181.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 12 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6647, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008037/0.6656, allocations: 333.5 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.6664, allocations: 370.8 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.6664, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.6664, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.486e-05/0.6665, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.6669, allocations: 79.41 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.667, allocations: 8 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.667, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.6671, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.6671, allocations: 15.92 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.6672, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.6675, allocations: 275.7 kB / 1.025 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.6676, allocations: 3.984 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.6676, allocations: 25.7 kB / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.6678, allocations: 59.89 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6678, allocations: 3.938 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.436e-06/0.6678, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.6678, allocations: 7.938 kB / 1.025 GB, free: 14.75 MB / 0.7794 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.0003401/0.6681, allocations: 339.5 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6682, allocations: 12.03 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.6683, allocations: 0.9375 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.6684, allocations: 168.4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.6684, allocations: 384 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.6684, allocations: 384 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.6685, allocations: 34.2 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6685, allocations: 192 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.6686, allocations: 7.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6686, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.6686, allocations: 8 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.6688, allocations: 151.6 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.6689, allocations: 22.61 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.6689, allocations: 12.91 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007214/0.6696, allocations: 457.5 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6697, allocations: 38.5 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6697, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005453/0.6702, allocations: 258.5 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.6703, allocations: 55.39 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.6703, allocations: 97.86 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.6704, allocations: 25.7 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.6704, allocations: 80.14 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.6704, allocations: 11.84 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.6705, allocations: 13.72 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6706, allocations: 315 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.6706, allocations: 8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.6706, allocations: 17.72 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.6707, allocations: 29.66 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6707, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.6708, allocations: 49.69 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6708, allocations: 13.97 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6708, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6708, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.6709, allocations: 15.92 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6709, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.6709, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.671, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.7794 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 7.279e-05/0.671, allocations: 110.4 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.6711, allocations: 11.84 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.6712, allocations: 57.12 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6712, allocations: 192 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6712, allocations: 3.984 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6712, allocations: 3.984 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.6713, allocations: 157.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6714, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.6714, allocations: 7.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6714, allocations: 3.938 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.6714, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6714, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6715, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.6716, allocations: 77.12 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.6716, allocations: 81.09 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.6717, allocations: 3.969 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.6717, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.6717, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.6717, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.6718, allocations: 87.34 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6718, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002137/0.672, allocations: 23.98 kB / 1.028 GB, free: 11.44 MB / 0.7794 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.0002113/0.6722, allocations: 123.2 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.674e-05/0.6723, allocations: 19.98 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6723, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.6723, allocations: 4.219 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.6725, allocations: 12.05 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.6728, allocations: 146.2 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.673, allocations: 0.677 MB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.6731, allocations: 11.44 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.6731, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002321/0.6754, allocations: 0.7609 MB / 1.029 GB, free: 9.629 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)