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.006059/0.006059, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001299/0.0013, allocations: 192 kB / 16.67 MB, free: 5.918 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 306.5 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.048/1.048, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 99.98 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1715, allocations: 86.97 MB / 0.766 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001747/0.1733, allocations: 0.6226 MB / 0.7666 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.174, allocations: 350.7 kB / 0.7669 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.1741, allocations: 4 kB / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.1741, allocations: 3.938 kB / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.193e-05/0.1742, allocations: 0 / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.1747, allocations: 119.6 kB / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.1747, allocations: 19.98 kB / 0.767 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1748, allocations: 8 kB / 0.767 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.1748, allocations: 15.92 kB / 0.7671 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.1749, allocations: 19.92 kB / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1749, allocations: 4 kB / 0.7671 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1753, allocations: 271.6 kB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1754, allocations: 4 kB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.1754, allocations: 19.91 kB / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1756, allocations: 99.94 kB / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1756, allocations: 0 / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1756, allocations: 0 / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1756, allocations: 0 / 0.7675 GB, free: 7.336 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.0005282/0.1762, allocations: 367.1 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1762, allocations: 12.03 kB / 0.7678 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1763, allocations: 34.75 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.1763, allocations: 0.9375 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1765, allocations: 172.3 kB / 0.768 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1765, allocations: 4.375 kB / 0.768 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1765, allocations: 8.312 kB / 0.768 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1767, allocations: 58.22 kB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1767, allocations: 7.875 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1767, allocations: 0 / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1767, allocations: 0 / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.1768, allocations: 23.98 kB / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.177, allocations: 161.7 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1771, allocations: 66.47 kB / 0.7683 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1771, allocations: 24.84 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007174/0.1779, allocations: 465.5 kB / 0.7688 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1779, allocations: 34.56 kB / 0.7688 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1779, allocations: 0 / 0.7688 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001325/0.1792, allocations: 0.5879 MB / 0.7694 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1793, allocations: 59.5 kB / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.1794, allocations: 101.8 kB / 0.7696 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1794, allocations: 29.7 kB / 0.7696 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.1795, allocations: 80.14 kB / 0.7697 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.1795, allocations: 31.7 kB / 0.7697 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1796, allocations: 37.7 kB / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1797, allocations: 310.8 kB / 0.77 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.1798, allocations: 23.98 kB / 0.7701 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.1798, allocations: 23.92 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1799, allocations: 60.36 kB / 0.7701 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1799, allocations: 0 / 0.7701 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001788/0.1801, allocations: 105.6 kB / 0.7702 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1801, allocations: 4 kB / 0.7702 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1802, allocations: 3.984 kB / 0.7702 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1802, allocations: 4 kB / 0.7702 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1803, allocations: 27.92 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1803, allocations: 0 / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.1803, allocations: 0 / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1803, allocations: 8 kB / 0.7703 GB, free: 4.035 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.745e-05/0.1804, allocations: 114.5 kB / 0.7704 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1805, allocations: 7.891 kB / 0.7704 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1807, allocations: 105.5 kB / 0.7705 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1807, allocations: 7.984 kB / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1807, allocations: 0 / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1807, allocations: 0 / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.1811, allocations: 358.5 kB / 0.7708 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1812, allocations: 0 / 0.7708 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1813, allocations: 23.94 kB / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.1813, allocations: 0 / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1813, allocations: 3.984 kB / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1813, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1813, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.1816, allocations: 223.7 kB / 0.7711 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.1817, allocations: 97.02 kB / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1817, allocations: 0 / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1818, allocations: 4 kB / 0.7712 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.1818, allocations: 11.98 kB / 0.7712 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1818, allocations: 3.938 kB / 0.7712 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.1819, allocations: 83.45 kB / 0.7713 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1819, allocations: 4.062 kB / 0.7713 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002836/0.1822, allocations: 47.86 kB / 0.7713 GB, free: 2.855 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.0007354/0.1829, allocations: 0.7865 MB / 0.7721 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1831, allocations: 63.86 kB / 0.7722 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1831, allocations: 0 / 0.7722 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.1832, allocations: 36.05 kB / 0.7722 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1834, allocations: 14.44 kB / 0.7722 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1849, allocations: 1.4 MB / 0.7736 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3151/0.5, allocations: 0.6869 MB / 0.7742 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.5002, allocations: 7.453 kB / 0.7742 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.5002, allocations: 18.53 kB / 0.7743 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.5002, allocations: 0.625 kB / 0.7743 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.5254, allocations: 2.494 MB / 0.7767 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.317, allocations: 10.52 kB / 0.7767 GB, free: 13.92 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)