Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_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.001079/0.001079, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001115/0.001115, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3306, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001597/0.3322, allocations: 0.593 MB / 0.5679 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.3325, allocations: 70.7 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.3326, allocations: 1.312 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.3326, allocations: 2.719 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.3327, allocations: 8.812 kB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3329, allocations: 43.94 kB / 0.568 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.333, allocations: 26.56 kB / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.333, allocations: 3.844 kB / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.3331, allocations: 13.38 kB / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3333, allocations: 64.19 kB / 0.5681 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3333, allocations: 3.688 kB / 0.5681 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.3334, allocations: 39.48 kB / 0.5681 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.3334, allocations: 19.2 kB / 0.5682 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.3335, allocations: 19.5 kB / 0.5682 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3336, allocations: 67.39 kB / 0.5682 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3336, allocations: 0 / 0.5682 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3336, allocations: 1.438 kB / 0.5682 GB, free: 32.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3336, allocations: 1.625 kB / 0.5682 GB, free: 32.25 MB / 446.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.0002341/0.3339, allocations: 361 kB / 0.5686 GB, free: 31.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3339, allocations: 9.188 kB / 0.5686 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.3339, allocations: 41.12 kB / 0.5686 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.334, allocations: 14.53 kB / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.802e-05/0.334, allocations: 171 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.334, allocations: 5.391 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.334, allocations: 3.281 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3343, allocations: 187.8 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3343, allocations: 1.031 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3343, allocations: 3.094 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.979e-05/0.3343, allocations: 25.09 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.3344, allocations: 41.28 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.3348, allocations: 0.9 MB / 0.5699 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.742e-05/0.3349, allocations: 172 kB / 0.5701 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.3349, allocations: 88.7 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.3349, allocations: 77.09 kB / 0.5703 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.335, allocations: 108.7 kB / 0.5704 GB, free: 30.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.335, allocations: 0.5625 kB / 0.5704 GB, free: 30.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.709e-05/0.335, allocations: 38.64 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3351, allocations: 390.6 kB / 0.5708 GB, free: 29.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3352, allocations: 167.9 kB / 0.5709 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3352, allocations: 27.14 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.3353, allocations: 153.6 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/0.3353, allocations: 3.234 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3354, allocations: 57.91 kB / 0.5712 GB, free: 29.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.979e-05/0.3354, allocations: 319.9 kB / 0.5715 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.3355, allocations: 27.91 kB / 0.5715 GB, free: 29.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3356, allocations: 228.4 kB / 0.5717 GB, free: 28.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3357, allocations: 199.1 kB / 0.5719 GB, free: 28.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3357, allocations: 1.344 kB / 0.5719 GB, free: 28.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002618/0.336, allocations: 190.8 kB / 0.5721 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.336, allocations: 7.969 kB / 0.5721 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.336, allocations: 4.594 kB / 0.5721 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.336, allocations: 14.22 kB / 0.5721 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3361, allocations: 38.45 kB / 0.5722 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3362, allocations: 11.39 kB / 0.5722 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.3363, allocations: 26.69 kB / 0.5722 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3363, allocations: 9.859 kB / 0.5722 GB, free: 28.45 MB / 446.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 7.742e-05/0.3364, allocations: 215.3 kB / 0.5724 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.3364, allocations: 108.2 kB / 0.5725 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.3364, allocations: 120.1 kB / 0.5726 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.3365, allocations: 182.6 kB / 0.5728 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.3365, allocations: 179.1 kB / 0.573 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.3365, allocations: 182.2 kB / 0.5731 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.3367, allocations: 419.7 kB / 0.5735 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.3367, allocations: 108.5 kB / 0.5736 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.3367, allocations: 102.8 kB / 0.5737 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.3367, allocations: 181.6 kB / 0.5739 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3367, allocations: 189.7 kB / 0.5741 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.918e-05/0.3368, allocations: 178.1 kB / 0.5743 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-05/0.3368, allocations: 191.4 kB / 0.5744 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.788e-05/0.3369, allocations: 312.9 kB / 0.5747 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.3369, allocations: 186.1 kB / 0.5749 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.3369, allocations: 188 kB / 0.5751 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.337, allocations: 110.9 kB / 0.5752 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.337, allocations: 177.9 kB / 0.5754 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3371, allocations: 111.4 kB / 0.5755 GB, free: 24.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.3371, allocations: 114.5 kB / 0.5756 GB, free: 24.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3371, allocations: 0 / 0.5756 GB, free: 24.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3374, allocations: 32.83 kB / 0.5756 GB, free: 24.87 MB / 446.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.0002455/0.3377, allocations: 0.8269 MB / 0.5764 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.3378, allocations: 80.56 kB / 0.5765 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3379, allocations: 0 / 0.5765 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3379, allocations: 0.8438 kB / 0.5765 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3381, allocations: 470.1 kB / 0.577 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.3385, allocations: 272.2 kB / 0.5772 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3387, allocations: 0.6929 MB / 0.5779 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.3388, allocations: 55 kB / 0.5779 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.3389, allocations: 22.8 kB / 0.578 GB, free: 22.63 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3389, allocations: 0 / 0.578 GB, free: 22.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.3562, allocations: 2.893 MB / 0.5808 GB, free: 22.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.453, allocations: 5.969 kB / 0.5808 GB, free: 22.21 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)