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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008163/0.008163, allocations: 98.23 kB / 15.73 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.00207/0.00207, allocations: 190.9 kB / 16.67 MB, free: 5.934 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002604/0.002604, allocations: 279 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 100.8 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1672, allocations: 86.98 MB / 0.766 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001661/0.1689, allocations: 0.6243 MB / 0.7666 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.1696, allocations: 350.7 kB / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.1696, allocations: 0 / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1696, allocations: 0 / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.1697, allocations: 3.938 kB / 0.7669 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.1702, allocations: 111.7 kB / 0.767 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.1702, allocations: 27.98 kB / 0.767 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1703, allocations: 15.98 kB / 0.7671 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.1703, allocations: 7.938 kB / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1704, allocations: 19.91 kB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1704, allocations: 0 / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1708, allocations: 275.6 kB / 0.7673 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.1709, allocations: 7.984 kB / 0.7673 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.1709, allocations: 11.94 kB / 0.7674 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1711, allocations: 103.9 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1711, allocations: 0 / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1711, allocations: 0 / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1711, allocations: 0 / 0.7675 GB, free: 7.305 MB / 0.5606 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.0004977/0.1716, allocations: 367.1 kB / 0.7678 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1717, allocations: 12.03 kB / 0.7678 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.1717, allocations: 38.73 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.1718, allocations: 4.938 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1719, allocations: 164.3 kB / 0.768 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1719, allocations: 4.375 kB / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.172, allocations: 4.359 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1721, allocations: 54.19 kB / 0.7681 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1721, allocations: 7.938 kB / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1721, allocations: 3.938 kB / 0.7681 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1722, allocations: 4 kB / 0.7681 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/0.1722, allocations: 15.98 kB / 0.7681 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.1724, allocations: 169.7 kB / 0.7683 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1725, allocations: 62.62 kB / 0.7683 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.1726, allocations: 32.78 kB / 0.7684 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/0.1733, allocations: 457.5 kB / 0.7688 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1734, allocations: 34.5 kB / 0.7688 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1734, allocations: 0 / 0.7688 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001395/0.1748, allocations: 0.5956 MB / 0.7694 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1748, allocations: 55.39 kB / 0.7695 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.1749, allocations: 93.86 kB / 0.7696 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1749, allocations: 33.7 kB / 0.7696 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.175, allocations: 84.14 kB / 0.7697 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.175, allocations: 35.69 kB / 0.7697 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.1751, allocations: 29.7 kB / 0.7697 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1752, allocations: 318.9 kB / 0.77 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.1753, allocations: 23.92 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.1753, allocations: 20 kB / 0.7701 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/0.1754, allocations: 56.84 kB / 0.7701 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1754, allocations: 0 / 0.7701 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001614/0.1756, allocations: 108.4 kB / 0.7702 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1756, allocations: 8 kB / 0.7702 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1756, allocations: 0 / 0.7702 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1756, allocations: 0 / 0.7702 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1758, allocations: 19.98 kB / 0.7703 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1758, allocations: 4 kB / 0.7703 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1758, allocations: 4 kB / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1758, allocations: 4 kB / 0.7703 GB, free: 4.012 MB / 0.5606 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.764e-05/0.1759, allocations: 114.4 kB / 0.7704 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1759, allocations: 15.89 kB / 0.7704 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.1762, allocations: 109.6 kB / 0.7705 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1762, allocations: 0 / 0.7705 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1762, allocations: 0 / 0.7705 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1762, allocations: 192 / 0.7705 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.1766, allocations: 362.5 kB / 0.7708 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1766, allocations: 0 / 0.7708 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.1768, allocations: 23.97 kB / 0.7709 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1768, allocations: 0 / 0.7709 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1768, allocations: 12 kB / 0.7709 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1768, allocations: 4 kB / 0.7709 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1768, allocations: 0 / 0.7709 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1771, allocations: 223.3 kB / 0.7711 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.1772, allocations: 85.05 kB / 0.7712 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1772, allocations: 4.031 kB / 0.7712 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1773, allocations: 4 kB / 0.7712 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1773, allocations: 7.984 kB / 0.7712 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1773, allocations: 8.062 kB / 0.7712 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.1774, allocations: 79.22 kB / 0.7713 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 7.938 kB / 0.7713 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003794/0.1778, allocations: 43.88 kB / 0.7713 GB, free: 2.824 MB / 0.5606 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.0007044/0.1785, allocations: 0.7826 MB / 0.7721 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1786, allocations: 71.97 kB / 0.7722 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1787, allocations: 0 / 0.7722 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.1787, allocations: 27.94 kB / 0.7722 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.179, allocations: 11.98 kB / 0.7722 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1804, allocations: 1.399 MB / 0.7736 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2794/0.4598, allocations: 0.6832 MB / 0.7742 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.086e-05/0.4599, allocations: 8.531 kB / 0.7742 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4599, allocations: 17.89 kB / 0.7743 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.4599, allocations: 1.312 kB / 0.7743 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.4853, allocations: 2.499 MB / 0.7767 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.229, allocations: 21.48 kB / 0.7767 GB, free: 13.87 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)