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.001566/0.001566, 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.001036/0.001036, allocations: 196 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8838/0.8838, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 106.7 kB / 0.5954 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1399, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001652/0.1416, allocations: 0.5908 MB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.1419, allocations: 71.72 kB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1419, allocations: 0.5312 kB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.142, allocations: 0.625 kB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.142, allocations: 8.641 kB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1423, allocations: 50.31 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.1423, allocations: 19.98 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1424, allocations: 4 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.1424, allocations: 19.97 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1426, allocations: 63.89 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1426, allocations: 2.094 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.1427, allocations: 43.89 kB / 0.6811 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.1427, allocations: 12 kB / 0.6812 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1428, allocations: 31.78 kB / 0.6812 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1429, allocations: 63.8 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1429, allocations: 0 / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1429, allocations: 0.7188 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1429, allocations: 0 / 0.6812 GB, free: 15.64 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.0003155/0.1432, allocations: 368.5 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1433, allocations: 8.625 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.1433, allocations: 38.75 kB / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1434, allocations: 6.188 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.178e-05/0.1435, allocations: 176.2 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1435, allocations: 384 / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1435, allocations: 5.188 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.1437, allocations: 184 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1437, allocations: 3.938 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1438, allocations: 7.938 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.1438, allocations: 27.97 kB / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.1439, allocations: 35.91 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.1445, allocations: 0.9061 MB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.1446, allocations: 169.1 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.1446, allocations: 84.12 kB / 0.6832 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1446, allocations: 83.22 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.1447, allocations: 109.8 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1447, allocations: 0 / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.229e-05/0.1448, allocations: 37.61 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.1449, allocations: 387.7 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1451, allocations: 166 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1451, allocations: 33.7 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.1452, allocations: 143.1 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.1452, allocations: 7.984 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.1452, allocations: 53.61 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1454, allocations: 322.8 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.1454, allocations: 35.91 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1456, allocations: 210.6 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1458, allocations: 205.7 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1458, allocations: 7.938 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000275/0.146, allocations: 185.3 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1461, allocations: 8 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1461, allocations: 4 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1461, allocations: 11.94 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1462, allocations: 39.92 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1462, allocations: 11.94 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.1463, allocations: 23.84 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1463, allocations: 8.406 kB / 0.6852 GB, free: 11.11 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.0001106/0.1465, allocations: 218.3 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.1465, allocations: 116.9 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.1466, allocations: 120.7 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/0.1466, allocations: 180.3 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-05/0.1467, allocations: 176.3 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/0.1468, allocations: 192.2 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.147, allocations: 413.2 kB / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/0.147, allocations: 108.9 kB / 0.6867 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.1471, allocations: 101 kB / 0.6868 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.552e-05/0.1471, allocations: 184.2 kB / 0.6869 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.1472, allocations: 188.1 kB / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.614e-05/0.1472, allocations: 176.3 kB / 0.6873 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.232e-05/0.1473, allocations: 180.3 kB / 0.6874 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1474, allocations: 320.1 kB / 0.6878 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1475, allocations: 186 kB / 0.6879 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1476, allocations: 188.2 kB / 0.6881 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.1477, allocations: 117.2 kB / 0.6882 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1477, allocations: 180.3 kB / 0.6884 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.1478, allocations: 112.9 kB / 0.6885 GB, free: 7.496 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.744e-05/0.1478, allocations: 117.7 kB / 0.6886 GB, free: 7.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1479, allocations: 0 / 0.6886 GB, free: 7.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1482, allocations: 24 kB / 0.6886 GB, free: 7.359 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.000407/0.1486, allocations: 0.8282 MB / 0.6894 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1487, allocations: 76.47 kB / 0.6895 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1487, allocations: 0 / 0.6895 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.1487, allocations: 3.938 kB / 0.6895 GB, free: 6.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1491, allocations: 473.5 kB / 0.69 GB, free: 5.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.1495, allocations: 283.1 kB / 0.6902 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.1498, allocations: 0.6929 MB / 0.6909 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.15, allocations: 56.58 kB / 0.691 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.15, allocations: 23.42 kB / 0.691 GB, free: 4.852 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.15, allocations: 0 / 0.691 GB, free: 4.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.1667, allocations: 2.897 MB / 0.6938 GB, free: 2.086 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.017, allocations: 7.344 kB / 0.6938 GB, free: 2.082 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 & 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)