Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_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.001545/0.001545, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001879/0.00188, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 70.3 kB / 0.9088 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3145, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002041/0.3166, allocations: 0.6283 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006857/0.3173, allocations: 350.7 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.3173, allocations: 0 / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.3174, allocations: 3.938 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.3174, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.3179, allocations: 117.1 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.318, allocations: 23.98 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3181, allocations: 0 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.3181, allocations: 15.91 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.3182, allocations: 15.92 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3182, allocations: 4 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.3186, allocations: 275.7 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3186, allocations: 7.938 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.3186, allocations: 15.92 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.3188, allocations: 99.77 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3188, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3188, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.3189, allocations: 0 / 1.066 GB, free: 13.45 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.0004386/0.3193, allocations: 367.7 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3193, allocations: 8.625 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.3194, allocations: 8.844 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3195, allocations: 164.4 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3196, allocations: 8.312 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3196, allocations: 4.375 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3198, allocations: 54.22 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3198, allocations: 4.172 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3198, allocations: 7.938 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3198, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.3199, allocations: 15.98 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.3201, allocations: 169.6 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3202, allocations: 62.5 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.3203, allocations: 28.84 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007123/0.321, allocations: 461.5 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.321, allocations: 34.56 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.321, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001334/0.3224, allocations: 0.5917 MB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.3224, allocations: 51.41 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.3225, allocations: 97.86 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3225, allocations: 33.69 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.3225, allocations: 80.14 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3226, allocations: 35.47 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.3226, allocations: 33.7 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3228, allocations: 310.8 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.3229, allocations: 27.98 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.3229, allocations: 23.98 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.323, allocations: 59.55 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.323, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001674/0.3232, allocations: 101.5 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3232, allocations: 8 kB / 1.068 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3232, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3232, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3234, allocations: 23.94 kB / 1.068 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3234, allocations: 7.984 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.3234, allocations: 7.938 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3234, allocations: 4 kB / 1.069 GB, free: 10.19 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.297e-05/0.3235, allocations: 109.8 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.3236, allocations: 7.938 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.3238, allocations: 101.7 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3238, allocations: 7.984 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3238, allocations: 3.938 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3238, allocations: 0 / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.3242, allocations: 362.4 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3242, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.3244, allocations: 20 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3244, allocations: 192 / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3244, allocations: 11.92 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3244, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3244, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3247, allocations: 223.4 kB / 1.069 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.3247, allocations: 85 kB / 1.069 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3247, allocations: 8 kB / 1.069 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.3248, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.3249, allocations: 7.984 kB / 1.069 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3249, allocations: 8 kB / 1.069 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.3249, allocations: 75.28 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3249, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002745/0.3252, allocations: 47.98 kB / 1.07 GB, free: 9.027 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.0002428/0.3255, allocations: 143.8 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.3256, allocations: 72.34 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.3256, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.3257, allocations: 39.86 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3259, allocations: 7.938 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.3263, allocations: 203.8 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3266, allocations: 0.6963 MB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3267, allocations: 11.44 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3267, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.002989/0.3297, allocations: 1.222 MB / 1.072 GB, free: 6.578 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)