Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001411/0.001412, allocations: 106.6 kB / 16.27 MB, free: 6.008 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.001523/0.001523, allocations: 190.4 kB / 17.2 MB, free: 5.621 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 65.64 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.339, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002129/0.3411, allocations: 0.5932 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.3419, allocations: 338.8 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.342, allocations: 4 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.342, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.173e-05/0.3421, allocations: 3.938 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.3426, allocations: 108.3 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.3427, allocations: 15.97 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.3428, allocations: 4 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.3428, allocations: 0 / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.3428, allocations: 7.938 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3429, allocations: 4 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.3433, allocations: 283.6 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.3433, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.3434, allocations: 15.86 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3436, allocations: 87.86 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3436, allocations: 3.984 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3436, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3436, allocations: 0 / 1.066 GB, free: 13.57 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.0004164/0.344, allocations: 335.6 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3441, allocations: 8.031 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.3442, allocations: 12.94 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3443, allocations: 160.7 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3443, allocations: 384 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3443, allocations: 384 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3445, allocations: 34.25 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3445, allocations: 192 / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3445, allocations: 7.938 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3445, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.3445, allocations: 3.938 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3447, allocations: 165.5 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.3448, allocations: 22.61 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.3448, allocations: 12.86 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.3456, allocations: 461.5 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3456, allocations: 30.56 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3456, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005754/0.3462, allocations: 250.3 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3463, allocations: 55.62 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.3463, allocations: 97.84 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3464, allocations: 29.7 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.3464, allocations: 80.14 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3464, allocations: 11.81 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3465, allocations: 17.72 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3466, allocations: 314.8 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.3466, allocations: 8.109 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.3467, allocations: 21.72 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.3467, allocations: 21.72 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3467, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/0.3468, allocations: 53.62 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3469, allocations: 11.94 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3469, allocations: 64 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3469, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.347, allocations: 8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.347, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.347, allocations: 4.078 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3471, allocations: 11.98 kB / 1.068 GB, free: 10.99 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 9.865e-05/0.3472, allocations: 105.8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.3472, allocations: 7.922 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.3474, allocations: 57.12 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3474, allocations: 4 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3474, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3474, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3476, allocations: 157.7 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3476, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.3477, allocations: 7.984 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3477, allocations: 3.938 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3477, allocations: 3.938 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3477, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3477, allocations: 8 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3479, allocations: 77.06 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.348, allocations: 81.02 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.348, allocations: 3.938 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.3481, allocations: 12.02 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3481, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.3481, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.3481, allocations: 83.34 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3481, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002301/0.3484, allocations: 24 kB / 1.068 GB, free: 10.26 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.0002893/0.3487, allocations: 123.8 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3488, allocations: 19.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3488, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.3488, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.349, allocations: 4.219 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3494, allocations: 145.8 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3498, allocations: 0.6807 MB / 1.069 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.3498, allocations: 7.438 kB / 1.069 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3498, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of Templates: time 0.002926/0.3527, allocations: 0.769 MB / 1.07 GB, free: 8.441 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)