Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001363/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002547/0.002547, allocations: 194.9 kB / 16.14 MB, free: 6.688 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7447 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 65.34 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3641, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002696/0.3669, allocations: 0.6853 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3679, allocations: 381 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.368, allocations: 3.938 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.368, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.3681, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.3685, allocations: 95.17 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.997e-05/0.3686, allocations: 23.86 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.3687, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.3687, allocations: 8 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.3688, allocations: 15.92 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3689, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.3693, allocations: 271.7 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3693, allocations: 19.91 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.3693, allocations: 11.94 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3696, allocations: 95.77 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3696, allocations: 4 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3696, allocations: 4 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3696, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 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.0006129/0.3702, allocations: 365.8 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.3703, allocations: 12.03 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3704, allocations: 0.9375 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3706, allocations: 168.4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3706, allocations: 384 / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.3707, allocations: 4.375 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3708, allocations: 54.19 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3708, allocations: 4.188 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3709, allocations: 7.875 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3709, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.371, allocations: 19.98 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.3712, allocations: 169.6 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3714, allocations: 54.56 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.3714, allocations: 32.84 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.3722, allocations: 457.4 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3723, allocations: 34.56 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3723, allocations: 4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001469/0.3737, allocations: 0.5875 MB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3738, allocations: 55.41 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.3739, allocations: 101.9 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3739, allocations: 33.64 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.374, allocations: 80.14 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.374, allocations: 39.44 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3741, allocations: 25.72 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3742, allocations: 322.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.3742, allocations: 16 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.3743, allocations: 23.98 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.3744, allocations: 60.78 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3744, allocations: 3.938 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001602/0.3746, allocations: 105.7 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3746, allocations: 4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3746, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.3746, allocations: 3.984 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3748, allocations: 23.98 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3748, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.3748, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3748, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 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 8.414e-05/0.3749, allocations: 117.8 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3749, allocations: 11.84 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3752, allocations: 105.6 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3752, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3752, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3752, allocations: 3.938 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.3756, allocations: 350.5 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3756, allocations: 0 / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3757, allocations: 23.98 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3758, allocations: 4 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3758, allocations: 4 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3758, allocations: 0 / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3758, allocations: 0 / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3761, allocations: 223.2 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.3761, allocations: 85.12 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3762, allocations: 7.922 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.3763, allocations: 8.062 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.3763, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3763, allocations: 4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.3763, allocations: 87.27 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3763, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002835/0.3766, allocations: 36 kB / 1.073 GB, free: 4.922 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.000259/0.3769, allocations: 139.2 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.3771, allocations: 83.28 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3771, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.3771, allocations: 35.92 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.3774, allocations: 8 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3777, allocations: 191.9 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.378, allocations: 0.6887 MB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.3781, allocations: 12.3 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3781, allocations: 19.38 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3781, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.004702/0.3828, allocations: 1.381 MB / 1.075 GB, free: 2.32 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)