Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001408/0.001408, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001496/0.001496, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 71.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9563, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001858/0.9583, allocations: 0.5864 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.959, allocations: 342.9 kB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.959, allocations: 0 / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.959, allocations: 4 kB / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.9591, allocations: 0 / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.9596, allocations: 115.4 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.9596, allocations: 14.48 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.9597, allocations: 1.859 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.9597, allocations: 8 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.9598, allocations: 3 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.9598, allocations: 0.9062 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.9603, allocations: 277.3 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.9603, allocations: 2.094 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.9603, allocations: 9.734 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.9606, allocations: 95.03 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9606, allocations: 0 / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9606, allocations: 1.094 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.9606, allocations: 0 / 1.09 GB, free: 4.781 MB / 0.8575 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.0003409/0.9609, allocations: 336 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.961, allocations: 9.344 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.9611, allocations: 6 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.9611, allocations: 166.7 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9612, allocations: 1.828 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.9612, allocations: 5.344 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.9613, allocations: 37.06 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.9613, allocations: 192 / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.9613, allocations: 5.359 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9613, allocations: 3.938 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.9614, allocations: 2.641 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.9615, allocations: 156.2 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.9616, allocations: 24.75 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.9616, allocations: 8.703 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.9622, allocations: 457.5 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.9623, allocations: 36.19 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9623, allocations: 1.062 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004929/0.9628, allocations: 259.6 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.9628, allocations: 55.62 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.9629, allocations: 98.23 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.9629, allocations: 26.52 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.9629, allocations: 80.92 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.9629, allocations: 9.875 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.963, allocations: 19.69 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.963, allocations: 312.9 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.9631, allocations: 7.734 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.9631, allocations: 20.06 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.9632, allocations: 32.67 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.9632, allocations: 0 / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.362e-05/0.9633, allocations: 53.56 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9633, allocations: 8.062 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9633, allocations: 1.781 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.9633, allocations: 4.859 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.9634, allocations: 10.41 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9634, allocations: 1.609 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.9634, allocations: 1.281 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.9634, allocations: 1.188 kB / 1.092 GB, free: 2.434 MB / 0.8575 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.724e-05/0.9635, allocations: 109.5 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.9635, allocations: 6.5 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.9636, allocations: 65.83 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9637, allocations: 0.7969 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9637, allocations: 1.094 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.9637, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.339e-05/0.9637, allocations: 153.2 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9638, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.9638, allocations: 5.672 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.9638, allocations: 9.453 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.9638, allocations: 4.688 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.9638, allocations: 0.7188 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9638, allocations: 4.797 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.964, allocations: 71.66 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.964, allocations: 82.59 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.964, allocations: 8.688 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.9641, allocations: 5.938 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.9641, allocations: 2.734 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.9641, allocations: 1.469 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.184e-05/0.9641, allocations: 81.48 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9642, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002254/0.9644, allocations: 24.34 kB / 1.093 GB, free: 1.793 MB / 0.8575 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.0002163/0.9646, allocations: 127.1 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.9647, allocations: 13.5 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9647, allocations: 0.7812 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.9648, allocations: 14.77 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.9649, allocations: 4.766 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.9652, allocations: 140.2 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.9654, allocations: 0.6762 MB / 1.094 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.9654, allocations: 10.36 kB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9654, allocations: 0 / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.0026/0.968, allocations: 0.778 MB / 1.095 GB, free: 16.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)