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.001124/0.001124, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001178/0.001178, allocations: 198.6 kB / 16.26 MB, free: 6.625 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 290.7 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8462/0.8462, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 90.7 kB / 0.5948 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 86.99 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001556/0.1315, allocations: 0.6533 MB / 0.6804 GB, free: 324 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.1317, allocations: 73.62 kB / 0.6805 GB, free: 252 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.1317, allocations: 0 / 0.6805 GB, free: 252 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.1318, allocations: 0 / 0.6805 GB, free: 252 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.1318, allocations: 8.688 kB / 0.6805 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.132, allocations: 40.59 kB / 0.6805 GB, free: 204 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.1321, allocations: 23.98 kB / 0.6805 GB, free: 180 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.1321, allocations: 2.469 kB / 0.6805 GB, free: 180 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.1322, allocations: 15.98 kB / 0.6805 GB, free: 164 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1323, allocations: 75.86 kB / 0.6806 GB, free: 88 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1323, allocations: 0 / 0.6806 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.1324, allocations: 39.89 kB / 0.6807 GB, free: 48 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.1325, allocations: 19.98 kB / 0.6807 GB, free: 28 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.1325, allocations: 25.86 kB / 0.6807 GB, free: 4 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1326, allocations: 71.78 kB / 0.6808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1326, allocations: 0 / 0.6808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1326, allocations: 3.938 kB / 0.6808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1326, allocations: 0 / 0.6808 GB, free: 15.93 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.0002849/0.1329, allocations: 368.3 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.1329, allocations: 8.031 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.133, allocations: 48.45 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.133, allocations: 4.938 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.1331, allocations: 172.2 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1331, allocations: 384 / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.1331, allocations: 5.25 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1333, allocations: 184.4 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.1333, allocations: 0 / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1334, allocations: 0.75 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.1334, allocations: 28.59 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.1335, allocations: 39.91 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.134, allocations: 0.8983 MB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.1341, allocations: 173.1 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.1341, allocations: 84.08 kB / 0.6827 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1341, allocations: 75.28 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.1342, allocations: 113.8 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1342, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.325e-05/0.1342, allocations: 41.61 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.1344, allocations: 383.7 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1345, allocations: 165.7 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1345, allocations: 29.7 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.1346, allocations: 147.1 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.1346, allocations: 8 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.1347, allocations: 49.61 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.1348, allocations: 334.7 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.1348, allocations: 27.97 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.135, allocations: 212.9 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1351, allocations: 205.7 kB / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1351, allocations: 11.94 kB / 0.6844 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002492/0.1354, allocations: 193.2 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1354, allocations: 4 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1354, allocations: 8 kB / 0.6846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1354, allocations: 11.92 kB / 0.6846 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1355, allocations: 39.92 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1356, allocations: 8.5 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.1356, allocations: 23.84 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1357, allocations: 12 kB / 0.6847 GB, free: 11.39 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.0001041/0.1358, allocations: 218.4 kB / 0.6849 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.1358, allocations: 116.8 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1359, allocations: 120.7 kB / 0.6852 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/0.1359, allocations: 180.3 kB / 0.6853 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-05/0.136, allocations: 184.3 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.1361, allocations: 180.2 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1363, allocations: 421.2 kB / 0.6861 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.1363, allocations: 104.9 kB / 0.6862 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.1363, allocations: 105 kB / 0.6863 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/0.1364, allocations: 176.3 kB / 0.6864 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.1364, allocations: 192.1 kB / 0.6866 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.194e-05/0.1365, allocations: 180.2 kB / 0.6868 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.155e-05/0.1366, allocations: 184.7 kB / 0.687 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1367, allocations: 311.7 kB / 0.6873 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1368, allocations: 190 kB / 0.6875 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.1368, allocations: 188.5 kB / 0.6876 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1369, allocations: 108.9 kB / 0.6877 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.137, allocations: 180.3 kB / 0.6879 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.137, allocations: 108.9 kB / 0.688 GB, free: 7.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.1371, allocations: 119.2 kB / 0.6881 GB, free: 7.672 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1371, allocations: 4 kB / 0.6881 GB, free: 7.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1374, allocations: 24 kB / 0.6882 GB, free: 7.645 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.0003695/0.1377, allocations: 0.8242 MB / 0.689 GB, free: 6.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1379, allocations: 75.97 kB / 0.689 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1379, allocations: 0 / 0.689 GB, free: 6.719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-06/0.1379, allocations: 7.938 kB / 0.689 GB, free: 6.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1382, allocations: 468.8 kB / 0.6895 GB, free: 6.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.1386, allocations: 298.5 kB / 0.6898 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1388, allocations: 0.6929 MB / 0.6905 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.139, allocations: 56.58 kB / 0.6905 GB, free: 5.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.139, allocations: 15.44 kB / 0.6905 GB, free: 5.133 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.139, allocations: 0 / 0.6905 GB, free: 5.133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.4151, allocations: 2.968 MB / 0.6934 GB, free: 2.34 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.4154, allocations: 218.4 kB / 0.6936 GB, free: 2.086 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/2.988, allocations: 3.125 kB / 0.6936 GB, free: 2.086 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)