Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 286.4 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9373/0.9373, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003446/0.003446, allocations: 97.86 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1704, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002035/0.1725, allocations: 0.5894 MB / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.1728, allocations: 75.72 kB / 0.6809 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1728, allocations: 0 / 0.6809 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1729, allocations: 0 / 0.6809 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.1729, allocations: 11.92 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1733, allocations: 39.95 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.1733, allocations: 35.89 kB / 0.681 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1734, allocations: 4 kB / 0.681 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.1734, allocations: 12 kB / 0.681 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1736, allocations: 71.86 kB / 0.6811 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1736, allocations: 0 / 0.6811 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1738, allocations: 39.89 kB / 0.6812 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.1738, allocations: 16 kB / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.1739, allocations: 23.81 kB / 0.6812 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.174, allocations: 67.78 kB / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.174, allocations: 0 / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.174, allocations: 0 / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1741, allocations: 0 / 0.6813 GB, free: 15.58 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003996/0.1745, allocations: 371.7 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1745, allocations: 8.031 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.1746, allocations: 38.75 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1746, allocations: 8.938 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1747, allocations: 172.2 kB / 0.6818 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1748, allocations: 4.375 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1748, allocations: 4.359 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.175, allocations: 180 kB / 0.682 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1751, allocations: 0 / 0.682 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1751, allocations: 7.984 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.1751, allocations: 27.97 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.1752, allocations: 35.91 kB / 0.6821 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.1759, allocations: 0.9022 MB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.914e-05/0.176, allocations: 165.1 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.176, allocations: 88.08 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.1761, allocations: 79.28 kB / 0.6833 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.1761, allocations: 113.8 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1761, allocations: 0 / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.1762, allocations: 33.61 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.1764, allocations: 391.7 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1766, allocations: 170 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1766, allocations: 25.7 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.1767, allocations: 155.1 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.1767, allocations: 3.938 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1768, allocations: 57.61 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1769, allocations: 322.8 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.177, allocations: 27.97 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1772, allocations: 222.5 kB / 0.6847 GB, free: 11.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1774, allocations: 201.8 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1774, allocations: 3.938 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003171/0.1777, allocations: 193.6 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1777, allocations: 8 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1777, allocations: 4 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1778, allocations: 11.94 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1779, allocations: 35.92 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1779, allocations: 11.94 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.178, allocations: 19.84 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.178, allocations: 12 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 0.0001416/0.1782, allocations: 222.5 kB / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.1783, allocations: 108.9 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1783, allocations: 124.7 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.494e-05/0.1784, allocations: 180.3 kB / 0.6858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.1785, allocations: 180.3 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.557e-05/0.1785, allocations: 180.2 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1788, allocations: 425.2 kB / 0.6866 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-05/0.1788, allocations: 104.9 kB / 0.6867 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.1789, allocations: 101 kB / 0.6868 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-05/0.1789, allocations: 176.3 kB / 0.6869 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.179, allocations: 192.1 kB / 0.6871 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.641e-05/0.1791, allocations: 184.3 kB / 0.6873 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.382e-05/0.1791, allocations: 184.2 kB / 0.6875 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.1793, allocations: 308.2 kB / 0.6878 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.1794, allocations: 190 kB / 0.6879 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/0.1795, allocations: 184.2 kB / 0.6881 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.1796, allocations: 113.2 kB / 0.6882 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.1796, allocations: 184.2 kB / 0.6884 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.1797, allocations: 116.9 kB / 0.6885 GB, free: 7.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.596e-05/0.1798, allocations: 113.7 kB / 0.6886 GB, free: 7.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1798, allocations: 0 / 0.6886 GB, free: 7.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1801, allocations: 28 kB / 0.6886 GB, free: 7.293 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004783/0.1806, allocations: 0.8321 MB / 0.6895 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1808, allocations: 72.91 kB / 0.6895 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1808, allocations: 8.125 kB / 0.6895 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.1808, allocations: 3.938 kB / 0.6895 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1812, allocations: 463.7 kB / 0.69 GB, free: 5.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.1817, allocations: 284.5 kB / 0.6903 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.182, allocations: 0.689 MB / 0.6909 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.1822, allocations: 56.58 kB / 0.691 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1822, allocations: 27.38 kB / 0.691 GB, free: 4.781 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1822, allocations: 0 / 0.691 GB, free: 4.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.203, allocations: 2.894 MB / 0.6938 GB, free: 2.012 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.031, allocations: 13.09 kB / 0.6938 GB, free: 2.004 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)