Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001362/0.001362, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001236/0.001236, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 289.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9143/0.9143, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 99.84 kB / 0.6822 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4396, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001651/0.4413, allocations: 0.6127 MB / 0.7677 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.442, allocations: 350.7 kB / 0.768 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.442, allocations: 3.938 kB / 0.768 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.442, allocations: 0 / 0.768 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.761e-05/0.4421, allocations: 3.938 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.4426, allocations: 127.2 kB / 0.7682 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.107e-05/0.4426, allocations: 23.97 kB / 0.7682 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.4427, allocations: 3.938 kB / 0.7682 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.013e-05/0.4427, allocations: 19.92 kB / 0.7682 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.4428, allocations: 7.984 kB / 0.7682 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4428, allocations: 4 kB / 0.7682 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.4432, allocations: 271.7 kB / 0.7685 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.4432, allocations: 15.91 kB / 0.7685 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4432, allocations: 11.94 kB / 0.7685 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.4434, allocations: 99.77 kB / 0.7686 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4434, allocations: 4 kB / 0.7686 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4434, allocations: 0 / 0.7686 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4434, allocations: 0 / 0.7686 GB, free: 2.41 MB / 0.5294 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.000399/0.4438, allocations: 367.1 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.4439, allocations: 8.031 kB / 0.769 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.4439, allocations: 8.875 kB / 0.769 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.444, allocations: 164.4 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.4441, allocations: 4.375 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4441, allocations: 4.375 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.4442, allocations: 54.19 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4442, allocations: 8.094 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4442, allocations: 3.938 kB / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4442, allocations: 0 / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.4443, allocations: 19.98 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.4445, allocations: 168.2 kB / 0.7694 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.4446, allocations: 62.53 kB / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.4446, allocations: 28.86 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.4453, allocations: 457.5 kB / 0.7699 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4453, allocations: 42.44 kB / 0.7699 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4453, allocations: 0 / 0.7699 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001237/0.4466, allocations: 0.5878 MB / 0.7705 GB, free: 112 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.4466, allocations: 55.41 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.4467, allocations: 101.8 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4467, allocations: 29.7 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.4468, allocations: 80.14 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.4468, allocations: 43.38 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.4469, allocations: 25.72 kB / 0.7708 GB, free: 15.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.447, allocations: 322.8 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.447, allocations: 16 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.4471, allocations: 23.98 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.4471, allocations: 52.86 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4472, allocations: 0 / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001613/0.4473, allocations: 113.5 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4473, allocations: 4 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4474, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.4474, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4475, allocations: 23.98 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4475, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.4475, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4475, allocations: 4 kB / 0.7714 GB, free: 15.17 MB / 0.545 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 7.384e-05/0.4476, allocations: 121.5 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.4476, allocations: 11.84 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.4478, allocations: 109.6 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4478, allocations: 0 / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4478, allocations: 0 / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4479, allocations: 0 / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.4482, allocations: 350.5 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4482, allocations: 0 / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.4483, allocations: 20.08 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4484, allocations: 15.94 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4484, allocations: 4 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4484, allocations: 0 / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4484, allocations: 0 / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.4486, allocations: 223.2 kB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.4487, allocations: 85.12 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.4487, allocations: 0 / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.4488, allocations: 8.047 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.4488, allocations: 8.188 kB / 0.7723 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.4488, allocations: 4 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.4489, allocations: 91.25 kB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4489, allocations: 0 / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000273/0.4492, allocations: 36 kB / 0.7724 GB, free: 14 MB / 0.545 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.0002177/0.4494, allocations: 139.2 kB / 0.7725 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.4495, allocations: 71.78 kB / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4495, allocations: 4 kB / 0.7726 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.4496, allocations: 36.36 kB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.4498, allocations: 11.25 kB / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.4502, allocations: 207.9 kB / 0.7729 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.4505, allocations: 0.6903 MB / 0.7735 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.4505, allocations: 11.44 kB / 0.7735 GB, free: 12.78 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4505, allocations: 0 / 0.7735 GB, free: 12.78 MB / 0.545 GB Notification: Performance of Templates: time 0.002709/0.4532, allocations: 1.237 MB / 0.7747 GB, free: 11.55 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)