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.008025/0.008025, 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.001941/0.001941, allocations: 193.4 kB / 16.67 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002601/0.002601, allocations: 297.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.197/1.197, allocations: 178.5 MB / 0.5074 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 99.83 kB / 0.6944 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4528, allocations: 89.12 MB / 0.7814 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001458/0.4543, allocations: 0.6155 MB / 0.782 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.4547, allocations: 69.22 kB / 0.782 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.4547, allocations: 1.156 kB / 0.782 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.4547, allocations: 3.938 kB / 0.7821 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.4548, allocations: 3.312 kB / 0.7821 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.4551, allocations: 50.53 kB / 0.7821 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.4551, allocations: 19.55 kB / 0.7821 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.4552, allocations: 6.281 kB / 0.7821 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.4552, allocations: 23.84 kB / 0.7822 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.4554, allocations: 59.42 kB / 0.7822 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.4554, allocations: 0 / 0.7822 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.002e-05/0.4555, allocations: 37.58 kB / 0.7822 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.4556, allocations: 21.08 kB / 0.7823 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.4556, allocations: 21.45 kB / 0.7823 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.4557, allocations: 66.19 kB / 0.7823 GB, free: 476 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4557, allocations: 3.938 kB / 0.7824 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4557, allocations: 1.094 kB / 0.7824 GB, free: 472 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4557, allocations: 0 / 0.7824 GB, free: 472 kB / 0.545 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.0002763/0.456, allocations: 368.3 kB / 0.7827 GB, free: 76 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4561, allocations: 10.53 kB / 0.7827 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.4561, allocations: 42.61 kB / 0.7828 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.4561, allocations: 9.078 kB / 0.7828 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4563, allocations: 165.5 kB / 0.7829 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4563, allocations: 1.531 kB / 0.7829 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.4563, allocations: 3.188 kB / 0.7829 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.4565, allocations: 190.6 kB / 0.7831 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4566, allocations: 0 / 0.7831 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4566, allocations: 2.375 kB / 0.7831 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.4566, allocations: 26.52 kB / 0.7831 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.4567, allocations: 37.19 kB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.4574, allocations: 0.9102 MB / 0.7841 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.4575, allocations: 170.5 kB / 0.7842 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.4576, allocations: 84.14 kB / 0.7843 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.4576, allocations: 83.27 kB / 0.7844 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.4577, allocations: 112.7 kB / 0.7845 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4577, allocations: 3.938 kB / 0.7845 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.961e-05/0.4578, allocations: 35.06 kB / 0.7845 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/0.458, allocations: 393.8 kB / 0.7849 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4582, allocations: 164.8 kB / 0.7851 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4582, allocations: 26.8 kB / 0.7851 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4583, allocations: 157.2 kB / 0.7852 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.4583, allocations: 1.562 kB / 0.7852 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.4584, allocations: 56.03 kB / 0.7853 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4585, allocations: 321.6 kB / 0.7856 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.4586, allocations: 24.02 kB / 0.7856 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.4588, allocations: 230.7 kB / 0.7858 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.459, allocations: 200.9 kB / 0.786 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.459, allocations: 1.938 kB / 0.786 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002944/0.4593, allocations: 188.5 kB / 0.7862 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4594, allocations: 6.844 kB / 0.7862 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4594, allocations: 5.344 kB / 0.7862 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4594, allocations: 10.53 kB / 0.7862 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4595, allocations: 37.42 kB / 0.7863 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4595, allocations: 9.922 kB / 0.7863 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.4596, allocations: 26.97 kB / 0.7863 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4596, allocations: 10.72 kB / 0.7863 GB, free: 12.46 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.000157/0.4598, allocations: 223.9 kB / 0.7865 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.4599, allocations: 109.7 kB / 0.7866 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.46, allocations: 113.4 kB / 0.7867 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/0.4601, allocations: 189.3 kB / 0.7869 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.272e-05/0.4601, allocations: 177.4 kB / 0.7871 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/0.4602, allocations: 185.2 kB / 0.7873 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.4605, allocations: 420.2 kB / 0.7877 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/0.4606, allocations: 105 kB / 0.7878 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.4606, allocations: 110.5 kB / 0.7879 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.141e-05/0.4607, allocations: 177.6 kB / 0.788 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.4608, allocations: 185.5 kB / 0.7882 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.152e-05/0.4609, allocations: 180.3 kB / 0.7884 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-05/0.461, allocations: 181.6 kB / 0.7886 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.4611, allocations: 311.8 kB / 0.7889 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4613, allocations: 188.7 kB / 0.789 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.4614, allocations: 190.8 kB / 0.7892 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.4615, allocations: 108.2 kB / 0.7893 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.4616, allocations: 185.6 kB / 0.7895 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.4616, allocations: 101 kB / 0.7896 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.383e-05/0.4617, allocations: 116.5 kB / 0.7897 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4617, allocations: 0 / 0.7897 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003112/0.462, allocations: 25.44 kB / 0.7897 GB, free: 8.836 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.000585/0.4626, allocations: 0.8364 MB / 0.7906 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.4628, allocations: 71.78 kB / 0.7906 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4628, allocations: 5.125 kB / 0.7906 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.4628, allocations: 1.125 kB / 0.7906 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.4632, allocations: 473.6 kB / 0.7911 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4638, allocations: 266.7 kB / 0.7913 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.4642, allocations: 0.6976 MB / 0.792 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.4644, allocations: 60.22 kB / 0.7921 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.4644, allocations: 26.28 kB / 0.7921 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4644, allocations: 0 / 0.7921 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.488, allocations: 2.956 MB / 0.795 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.246, allocations: 7.641 kB / 0.795 GB, free: 5.008 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)