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.007657/0.007657, allocations: 101 kB / 15.73 MB, free: 6.059 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.001924/0.001924, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002575, allocations: 276.5 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 92 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1816, allocations: 86.98 MB / 0.7659 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002296/0.184, allocations: 0.6033 MB / 0.7665 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.1844, allocations: 63.84 kB / 0.7666 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1844, allocations: 4 kB / 0.7666 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.1845, allocations: 4 kB / 0.7666 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.1846, allocations: 7.938 kB / 0.7666 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1849, allocations: 51.88 kB / 0.7667 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.185, allocations: 23.92 kB / 0.7667 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.1851, allocations: 4 kB / 0.7667 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1851, allocations: 15.97 kB / 0.7667 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1853, allocations: 59.89 kB / 0.7668 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1854, allocations: 0 / 0.7668 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1855, allocations: 43.95 kB / 0.7668 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1856, allocations: 19.97 kB / 0.7668 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1856, allocations: 23.81 kB / 0.7668 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1858, allocations: 60.08 kB / 0.7669 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1858, allocations: 0 / 0.7669 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1858, allocations: 3.938 kB / 0.7669 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1858, allocations: 0 / 0.7669 GB, free: 7.898 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004819/0.1863, allocations: 363.3 kB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1864, allocations: 15.97 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.1864, allocations: 42.73 kB / 0.7673 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.1865, allocations: 12.89 kB / 0.7673 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1866, allocations: 168.3 kB / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1866, allocations: 384 / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.1867, allocations: 4.375 kB / 0.7675 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.187, allocations: 183.2 kB / 0.7677 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.187, allocations: 0 / 0.7677 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.187, allocations: 4 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.187, allocations: 23.98 kB / 0.7677 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.1871, allocations: 39.84 kB / 0.7677 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.1879, allocations: 0.9102 MB / 0.7686 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.188, allocations: 169.1 kB / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.1881, allocations: 80.14 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1881, allocations: 79.28 kB / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/0.1882, allocations: 117.8 kB / 0.769 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.1882, allocations: 0 / 0.769 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.55e-05/0.1883, allocations: 37.59 kB / 0.7691 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002094/0.1885, allocations: 395.7 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1887, allocations: 160.6 kB / 0.7696 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1887, allocations: 25.7 kB / 0.7696 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1888, allocations: 155.5 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.1888, allocations: 8 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.1889, allocations: 53.7 kB / 0.7698 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1891, allocations: 318.8 kB / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.1891, allocations: 23.98 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1893, allocations: 226.5 kB / 0.7704 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.1895, allocations: 197.8 kB / 0.7706 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1895, allocations: 0 / 0.7706 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003177/0.1899, allocations: 193.1 kB / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1899, allocations: 8.656 kB / 0.7708 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1899, allocations: 7.938 kB / 0.7708 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1899, allocations: 19.86 kB / 0.7708 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1901, allocations: 39.92 kB / 0.7708 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1901, allocations: 7.984 kB / 0.7708 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.834e-05/0.1902, allocations: 27.84 kB / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1902, allocations: 12 kB / 0.7709 GB, free: 3.34 MB / 0.5606 GB 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.0001432/0.1904, allocations: 213.6 kB / 0.7711 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.1905, allocations: 116.9 kB / 0.7712 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.1905, allocations: 116.8 kB / 0.7713 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.621e-05/0.1906, allocations: 184.3 kB / 0.7715 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.651e-05/0.1907, allocations: 184.1 kB / 0.7717 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.108e-05/0.1908, allocations: 180.3 kB / 0.7718 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1911, allocations: 417.2 kB / 0.7722 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/0.1911, allocations: 109 kB / 0.7723 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1912, allocations: 105 kB / 0.7724 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-05/0.1912, allocations: 180.7 kB / 0.7726 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.1913, allocations: 180.2 kB / 0.7728 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.648e-05/0.1914, allocations: 184.2 kB / 0.7729 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.255e-05/0.1915, allocations: 180.3 kB / 0.7731 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1917, allocations: 319.9 kB / 0.7734 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.1918, allocations: 190 kB / 0.7736 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.1919, allocations: 192.1 kB / 0.7738 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.192, allocations: 105 kB / 0.7739 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3674/0.5594, allocations: 180.4 kB / 0.7741 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5595, allocations: 101 kB / 0.7742 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001189/0.5596, allocations: 119.1 kB / 0.7743 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5596, allocations: 0 / 0.7743 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004493/0.5601, allocations: 27.5 kB / 0.7743 GB, free: 15.33 MB / 0.5606 GB 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.0003464/0.5604, allocations: 0.8307 MB / 0.7751 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5606, allocations: 78.58 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5606, allocations: 0.7188 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.5606, allocations: 2.469 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.561, allocations: 467.7 kB / 0.7756 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.5615, allocations: 268.9 kB / 0.7759 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.5616, allocations: 0.7009 MB / 0.7766 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.5618, allocations: 53.52 kB / 0.7766 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.5619, allocations: 19.75 kB / 0.7766 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5619, allocations: 1.5 kB / 0.7766 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.5856, allocations: 2.966 MB / 0.7795 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.405, allocations: 11.5 kB / 0.7796 GB, free: 12.76 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)