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.001159/0.001159, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001235/0.001235, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 294.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8828/0.8828, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001644, allocations: 95.05 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1448, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00166/0.1465, allocations: 0.6071 MB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005921/0.1471, allocations: 350.7 kB / 0.6826 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1472, allocations: 0 / 0.6826 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1472, allocations: 4 kB / 0.6826 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.51e-05/0.1472, allocations: 3.938 kB / 0.6826 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1476, allocations: 122.7 kB / 0.6827 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.1477, allocations: 23.92 kB / 0.6827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.1478, allocations: 0 / 0.6827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.1478, allocations: 15.98 kB / 0.6827 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.1478, allocations: 7.922 kB / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1479, allocations: 4 kB / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1482, allocations: 283.6 kB / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.1482, allocations: 4 kB / 0.683 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.1483, allocations: 19.86 kB / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1484, allocations: 103.8 kB / 0.6831 GB, free: 5.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1484, allocations: 3.938 kB / 0.6831 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1484, allocations: 0 / 0.6831 GB, free: 5.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1485, allocations: 0 / 0.6831 GB, free: 5.93 MB / 494.1 MB 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.0003791/0.1488, allocations: 363.4 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1489, allocations: 8.031 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.1489, allocations: 12.84 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.149, allocations: 164.4 kB / 0.6836 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1491, allocations: 4.375 kB / 0.6836 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1491, allocations: 8.375 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1492, allocations: 50.23 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1492, allocations: 192 / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1492, allocations: 7.938 kB / 0.6837 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1492, allocations: 0 / 0.6837 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927e-05/0.1493, allocations: 23.92 kB / 0.6837 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.1494, allocations: 169.6 kB / 0.6839 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.1495, allocations: 54.56 kB / 0.6839 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.1496, allocations: 28.84 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/0.1502, allocations: 465.7 kB / 0.6844 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1503, allocations: 30.56 kB / 0.6844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1503, allocations: 0 / 0.6844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001159/0.1515, allocations: 0.5914 MB / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1515, allocations: 59.34 kB / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.1516, allocations: 97.84 kB / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1516, allocations: 29.7 kB / 0.6852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.1516, allocations: 88.12 kB / 0.6853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1516, allocations: 31.47 kB / 0.6853 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.1517, allocations: 29.7 kB / 0.6853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.1518, allocations: 322.8 kB / 0.6857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.1518, allocations: 19.98 kB / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.1519, allocations: 23.98 kB / 0.6857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.152, allocations: 48.86 kB / 0.6857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.152, allocations: 0 / 0.6857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001481/0.1521, allocations: 112.5 kB / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1521, allocations: 11.94 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1521, allocations: 0 / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1522, allocations: 0 / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.1522, allocations: 20 kB / 0.6859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1523, allocations: 7.984 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.1523, allocations: 4 kB / 0.6859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1523, allocations: 4 kB / 0.6859 GB, free: 2.684 MB / 494.1 MB 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 6.28e-05/0.1524, allocations: 109.8 kB / 0.686 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1524, allocations: 8.125 kB / 0.686 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.1526, allocations: 109.5 kB / 0.6861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1526, allocations: 7.969 kB / 0.6861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1526, allocations: 0 / 0.6861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1526, allocations: 0 / 0.6861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.153, allocations: 366.4 kB / 0.6865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.153, allocations: 3.938 kB / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1531, allocations: 16 kB / 0.6865 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1531, allocations: 0 / 0.6865 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1531, allocations: 7.984 kB / 0.6865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1531, allocations: 0 / 0.6865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1531, allocations: 0 / 0.6865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1533, allocations: 231.6 kB / 0.6867 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.1534, allocations: 89.03 kB / 0.6868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1534, allocations: 0 / 0.6868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.1535, allocations: 4 kB / 0.6868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.1535, allocations: 7.984 kB / 0.6868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1535, allocations: 4 kB / 0.6868 GB, free: 1.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.1536, allocations: 79.28 kB / 0.6869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 0.6869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1538, allocations: 43.98 kB / 0.6869 GB, free: 1.508 MB / 494.1 MB 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.0002114/0.1541, allocations: 147.3 kB / 0.6871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1542, allocations: 67.84 kB / 0.6871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1542, allocations: 0 / 0.6871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.1543, allocations: 31.94 kB / 0.6872 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1545, allocations: 11.98 kB / 0.6872 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.1548, allocations: 170.3 kB / 0.6873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1551, allocations: 0.6892 MB / 0.688 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1551, allocations: 7.984 kB / 0.688 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1552, allocations: 11.44 kB / 0.688 GB, free: 332 kB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1552, allocations: 0 / 0.688 GB, free: 332 kB / 494.1 MB Notification: Performance of Templates: time 0.2237/0.3789, allocations: 1.407 MB / 0.6894 GB, free: 17.6 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)