Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_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.001489/0.001489, allocations: 109.7 kB / 15.99 MB, free: 6.359 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.001296/0.001296, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.401/1.401, 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.744/2.744, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 66.73 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002148/0.3221, allocations: 0.6603 MB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000743/0.3229, allocations: 342.9 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.323, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.323, allocations: 7.938 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.3231, allocations: 3.938 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.3236, allocations: 95.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.3237, allocations: 12 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.3237, allocations: 0 / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/0.3238, allocations: 11.92 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.3238, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3238, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.3242, allocations: 279.7 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.3243, allocations: 3.984 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3243, allocations: 11.92 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3245, allocations: 55.91 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3245, allocations: 0 / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3245, allocations: 0 / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3245, allocations: 0 / 1.066 GB, free: 13.65 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004373/0.3249, allocations: 347.5 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.325, allocations: 8.625 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.3251, allocations: 4.938 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3252, allocations: 164.7 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3252, allocations: 384 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3252, allocations: 4.375 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.3254, allocations: 38.25 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3254, allocations: 192 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3254, allocations: 3.938 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3254, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.3254, allocations: 4 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.3256, allocations: 161.5 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.3257, allocations: 26.55 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.3257, allocations: 4.859 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/0.3265, allocations: 461.5 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.3265, allocations: 34.56 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3266, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005616/0.3271, allocations: 246.3 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3272, allocations: 55.62 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.3273, allocations: 97.86 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3273, allocations: 25.7 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.3273, allocations: 88.12 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3274, allocations: 11.75 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.3274, allocations: 17.72 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3275, allocations: 310.8 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.3276, allocations: 11.98 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.3276, allocations: 21.78 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.3277, allocations: 25.72 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3277, allocations: 3.938 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.857e-05/0.3278, allocations: 53.62 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3278, allocations: 7.938 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3278, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3278, allocations: 8.062 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.3279, allocations: 12 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3279, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.3279, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3279, allocations: 4 kB / 1.068 GB, free: 11.06 MB / 0.8419 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 8.515e-05/0.328, allocations: 112 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3281, allocations: 7.938 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.3282, allocations: 61.12 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3282, allocations: 192 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3282, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3282, allocations: 3.984 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3284, allocations: 149.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3284, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.3284, allocations: 11.98 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3284, allocations: 3.938 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.3285, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3285, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3285, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.3286, allocations: 77.06 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.3287, allocations: 85.02 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3287, allocations: 7.969 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.839e-05/0.3287, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.3288, allocations: 3.984 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3288, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.3288, allocations: 75.34 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.803e-06/0.3288, allocations: 4.094 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000237/0.3291, allocations: 27.94 kB / 1.068 GB, free: 10.33 MB / 0.8419 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.0002279/0.3293, allocations: 127.2 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.3294, allocations: 19.92 kB / 1.068 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3294, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.3294, allocations: 8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.3296, allocations: 4 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.3299, allocations: 147.2 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3302, allocations: 0.6768 MB / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.3302, allocations: 11.44 kB / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3302, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.002347/0.3325, allocations: 0.7623 MB / 1.07 GB, free: 8.512 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)