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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008023/0.0008023, allocations: 98.8 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.00114/0.00114, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 12.06 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3432, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007229/0.344, allocations: 358.7 kB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.3447, allocations: 370.9 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.3448, allocations: 0 / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.3448, allocations: 0 / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.3448, allocations: 0 / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.3452, allocations: 87.77 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.3453, allocations: 19.98 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.3454, allocations: 4 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.3454, allocations: 7.938 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.3455, allocations: 15.92 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3455, allocations: 0 / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.3459, allocations: 279.6 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3459, allocations: 7.984 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.346, allocations: 33.64 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3461, allocations: 71.88 kB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3461, allocations: 3.938 kB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3461, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3461, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 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.0003933/0.3465, allocations: 351.7 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3466, allocations: 11.97 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.3466, allocations: 12.84 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3468, allocations: 168.3 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3468, allocations: 8.312 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3468, allocations: 4.375 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3469, allocations: 54.23 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3469, allocations: 192 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.347, allocations: 7.922 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.347, allocations: 4 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.347, allocations: 15.98 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.3472, allocations: 169.7 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3474, allocations: 66.5 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3474, allocations: 28.84 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.3482, allocations: 461.5 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3482, allocations: 30.56 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.3482, allocations: 0 / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.001371/0.3496, allocations: 0.5952 MB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3496, allocations: 59.41 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.3497, allocations: 93.84 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3497, allocations: 33.7 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.3498, allocations: 80.14 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.3498, allocations: 35.45 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3499, allocations: 17.72 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.35, allocations: 318.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.35, allocations: 19.94 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.3501, allocations: 34.73 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.3502, allocations: 52.84 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3502, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.3504, allocations: 93.62 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3504, allocations: 4 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3504, allocations: 3.938 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3504, allocations: 4 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3505, allocations: 23.92 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3505, allocations: 0 / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.3506, allocations: 8 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3506, allocations: 4 kB / 1.063 GB, free: 0.5078 MB / 0.8106 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.379e-05/0.3507, allocations: 113.8 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3507, allocations: 11.84 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.3509, allocations: 109.9 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3509, allocations: 4 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.351, allocations: 0 / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.351, allocations: 0 / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.3514, allocations: 358.6 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3514, allocations: 4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3516, allocations: 23.92 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3516, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3516, allocations: 4.094 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3516, allocations: 7.938 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3516, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3519, allocations: 215.5 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.352, allocations: 97.09 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.352, allocations: 3.984 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.3521, allocations: 11.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.3521, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3521, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.3522, allocations: 83.27 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3522, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.3524, allocations: 36 kB / 1.064 GB, free: 15.33 MB / 0.8262 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.0002631/0.3527, allocations: 151.2 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3529, allocations: 63.53 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3529, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.258e-05/0.3529, allocations: 43.86 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3532, allocations: 4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.3536, allocations: 216.6 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3538, allocations: 0.6888 MB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.3539, allocations: 15.44 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3539, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.003081/0.357, allocations: 1.2 MB / 1.067 GB, free: 12.89 MB / 0.8262 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)