Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008849/0.000885, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.336 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.601/2.601, allocations: 437.8 MB / 0.7128 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.000377, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6939, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008869/0.6949, allocations: 357.4 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000826/0.6957, allocations: 370.9 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.6958, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.6958, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.6958, allocations: 8 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.6963, allocations: 75.83 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.6964, allocations: 27.92 kB / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.6965, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.6965, allocations: 15.92 kB / 1.025 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.6966, allocations: 15.91 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.6966, allocations: 4 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.697, allocations: 275.7 kB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.697, allocations: 4 kB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.6971, allocations: 41.62 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.6972, allocations: 63.88 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6972, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6972, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.6973, allocations: 0 / 1.025 GB, free: 14.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004447/0.6977, allocations: 359.1 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6978, allocations: 8.031 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.6978, allocations: 4.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.698, allocations: 168.3 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.698, allocations: 4.375 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.698, allocations: 8.312 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.6982, allocations: 54.23 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6982, allocations: 192 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6982, allocations: 3.938 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6982, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.685e-05/0.6983, allocations: 19.98 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.6985, allocations: 169.5 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6986, allocations: 62.5 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.6987, allocations: 32.84 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/0.6994, allocations: 461.5 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.6995, allocations: 34.56 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.6995, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001399/0.7009, allocations: 0.5917 MB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.7009, allocations: 51.41 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.701, allocations: 93.86 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.701, allocations: 29.7 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.7011, allocations: 88.14 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.7011, allocations: 43.47 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.7012, allocations: 25.64 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7013, allocations: 314.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.7013, allocations: 23.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.7014, allocations: 24 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.7015, allocations: 56.78 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.7015, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/0.7017, allocations: 99.38 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.7017, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.7017, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7017, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.7018, allocations: 23.98 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.7018, allocations: 7.875 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.7019, allocations: 8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.7019, allocations: 4.188 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 8.891e-05/0.702, allocations: 114.4 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.702, allocations: 11.83 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.7022, allocations: 109.7 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7022, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.7022, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7023, allocations: 3.938 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.7027, allocations: 354.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7027, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.7028, allocations: 23.98 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7028, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.7028, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.7028, allocations: 3.938 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7029, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.7031, allocations: 227.3 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.7032, allocations: 89.12 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7032, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.7033, allocations: 8 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.7034, allocations: 3.984 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7034, allocations: 7.938 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.7034, allocations: 79.28 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7034, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002878/0.7037, allocations: 47.98 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002849/0.704, allocations: 147.2 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.7042, allocations: 59.92 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7042, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.7042, allocations: 39.86 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.7045, allocations: 8 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.7049, allocations: 220.5 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.7052, allocations: 0.6848 MB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.7053, allocations: 15.42 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7053, allocations: 4 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of Templates: time 0.003119/0.7084, allocations: 1.199 MB / 1.031 GB, free: 7.805 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)