Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.3 kB / 18.93 MB, free: 1.273 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 218.2 kB / 22.25 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9739/0.9739, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7912/0.7912, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 62.97 kB / 0.7183 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4936, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001439/0.495, allocations: 0.618 MB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003192/0.4954, allocations: 67.69 kB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.4954, allocations: 4 kB / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.4954, allocations: 1.875 kB / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.4955, allocations: 9.672 kB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.4958, allocations: 40.91 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.4958, allocations: 29.53 kB / 0.8187 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.4959, allocations: 3.266 kB / 0.8187 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.4959, allocations: 21.03 kB / 0.8187 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.4961, allocations: 65.75 kB / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.4961, allocations: 6.156 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.4962, allocations: 44.58 kB / 0.8188 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.4962, allocations: 23.11 kB / 0.8188 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.4963, allocations: 18.38 kB / 0.8188 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.4964, allocations: 69.06 kB / 0.8189 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4964, allocations: 0.75 kB / 0.8189 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4964, allocations: 0 / 0.8189 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4964, allocations: 0 / 0.8189 GB, free: 0.7188 MB / 0.6042 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.0002927/0.4967, allocations: 287 kB / 0.8192 GB, free: 448 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4968, allocations: 10.06 kB / 0.8192 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.4968, allocations: 44.7 kB / 0.8192 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.4969, allocations: 9.703 kB / 0.8192 GB, free: 396 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.566e-05/0.4969, allocations: 115 kB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4969, allocations: 384 / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4969, allocations: 384 / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4972, allocations: 187 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4972, allocations: 4 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4972, allocations: 7.438 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.4972, allocations: 24.58 kB / 0.8196 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.4973, allocations: 40.25 kB / 0.8196 GB, free: 124 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.4979, allocations: 0.875 MB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.498, allocations: 169.1 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.4981, allocations: 84.8 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.4981, allocations: 80.72 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.4981, allocations: 112 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.4981, allocations: 0 / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.465e-05/0.4982, allocations: 40 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002651/0.4985, allocations: 392.1 kB / 0.8213 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.4986, allocations: 165.4 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4986, allocations: 28.17 kB / 0.8215 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.4987, allocations: 160.1 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.4987, allocations: 0.6094 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.4987, allocations: 56.45 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.4988, allocations: 319.8 kB / 0.822 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.4989, allocations: 25.66 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.499, allocations: 226.7 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4991, allocations: 193 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4991, allocations: 6.781 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002155/0.4993, allocations: 192.1 kB / 0.8226 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4993, allocations: 7.312 kB / 0.8226 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4993, allocations: 7.812 kB / 0.8226 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4994, allocations: 10.91 kB / 0.8226 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.4995, allocations: 43.86 kB / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4995, allocations: 8.5 kB / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.4995, allocations: 21.77 kB / 0.8227 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4995, allocations: 11.16 kB / 0.8227 GB, free: 13.08 MB / 0.6198 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.0001164/0.4997, allocations: 214.5 kB / 0.8229 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.4997, allocations: 117.7 kB / 0.823 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.4998, allocations: 120 kB / 0.8231 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/0.4998, allocations: 183.2 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-05/0.4999, allocations: 183.4 kB / 0.8235 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/0.4999, allocations: 180.9 kB / 0.8237 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.5001, allocations: 400.4 kB / 0.824 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.5001, allocations: 105.8 kB / 0.8241 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.5001, allocations: 101.6 kB / 0.8242 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.571e-05/0.5002, allocations: 180.7 kB / 0.8244 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.5002, allocations: 184.8 kB / 0.8246 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-05/0.5003, allocations: 182.9 kB / 0.8248 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.868e-05/0.5003, allocations: 186.5 kB / 0.8249 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.5005, allocations: 313.1 kB / 0.8252 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.5005, allocations: 113.4 kB / 0.8253 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.5006, allocations: 187.8 kB / 0.8255 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.5006, allocations: 104.4 kB / 0.8256 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.5007, allocations: 186.4 kB / 0.8258 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.5007, allocations: 103.4 kB / 0.8259 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.5008, allocations: 116.3 kB / 0.826 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5008, allocations: 0 / 0.826 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002429/0.501, allocations: 33.69 kB / 0.826 GB, free: 9.598 MB / 0.6198 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.0003713/0.5014, allocations: 0.8287 MB / 0.8269 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.5015, allocations: 68.73 kB / 0.8269 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5015, allocations: 0 / 0.8269 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.5015, allocations: 1.25 kB / 0.8269 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.5018, allocations: 479.9 kB / 0.8274 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.5022, allocations: 277.8 kB / 0.8276 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.5024, allocations: 0.6916 MB / 0.8283 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.5026, allocations: 55.61 kB / 0.8284 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.5026, allocations: 22.72 kB / 0.8284 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.5026, allocations: 1.688 kB / 0.8284 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.5223, allocations: 3.135 MB / 0.8315 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/7.104, allocations: 1.438 kB / 0.8315 GB, free: 6.793 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.2218678900972] Failed to read output from testmodel.py, exit status != 0: 7.1837573170196265 7.201564528 6.701756974 Calling exit ...