Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001337/0.001337, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001273/0.001273, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.23 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002055/0.3305, allocations: 0.6835 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.3313, allocations: 354.8 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.3313, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.3314, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.837e-05/0.3314, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.3319, allocations: 103.2 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.332, allocations: 27.91 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.332, allocations: 3.984 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.3321, allocations: 12 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.3321, allocations: 15.92 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3321, allocations: 0 / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.3325, allocations: 275.7 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.3326, allocations: 15.91 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.3326, allocations: 7.938 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3327, allocations: 63.83 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3328, allocations: 4 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3328, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3328, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8419 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.0004914/0.3333, allocations: 359.8 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3333, allocations: 8.625 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.3334, allocations: 8.844 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3335, allocations: 168.3 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3336, allocations: 4.375 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3336, allocations: 4.375 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3337, allocations: 54.23 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3338, allocations: 192 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3338, allocations: 11.94 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3338, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.3338, allocations: 15.98 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.3341, allocations: 169.6 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3342, allocations: 66.47 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.3343, allocations: 28.86 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.335, allocations: 457.5 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3351, allocations: 38.56 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3351, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001413/0.3365, allocations: 0.5916 MB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3366, allocations: 51.41 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.3367, allocations: 105.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3367, allocations: 29.7 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.3368, allocations: 84.14 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.3368, allocations: 39.39 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.3369, allocations: 25.72 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.337, allocations: 314.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.3371, allocations: 24 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.3371, allocations: 23.98 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3372, allocations: 60.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3373, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001753/0.3374, allocations: 97.52 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3375, allocations: 8 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3375, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3375, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3376, allocations: 27.92 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3376, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.3377, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3377, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 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 9.015e-05/0.3378, allocations: 117.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3378, allocations: 7.938 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.338, allocations: 109.6 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.338, allocations: 4 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3381, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3381, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.3385, allocations: 358.4 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3385, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3387, allocations: 35.92 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3387, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3387, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.339, allocations: 219.4 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.3391, allocations: 85 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3391, allocations: 8 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.3392, allocations: 8.047 kB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3392, allocations: 4 kB / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3393, allocations: 8 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.3393, allocations: 87.38 kB / 1.069 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3393, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002937/0.3396, allocations: 44 kB / 1.069 GB, free: 9.156 MB / 0.8419 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.0002707/0.3399, allocations: 139.2 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.3402, allocations: 75.78 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3402, allocations: 4 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.3402, allocations: 31.98 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.3405, allocations: 8 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.3409, allocations: 222.8 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3413, allocations: 0.6885 MB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3413, allocations: 11.44 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of SimCode: time 4.1e-07/0.3413, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of Templates: time 0.003439/0.3448, allocations: 1.213 MB / 1.072 GB, free: 6.707 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)