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.0008204/0.0008204, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009583/0.0009583, allocations: 209.7 kB / 22.24 MB, free: 3.57 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 1.016/1.016, allocations: 230.6 MB / 256 MB, free: 9.605 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.7916/0.7916, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001055/0.001055, allocations: 70.53 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5048, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001255/0.5061, allocations: 0.6242 MB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.5063, allocations: 62.36 kB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.5064, allocations: 5.344 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.5064, allocations: 1.453 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.5064, allocations: 10.52 kB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.5067, allocations: 40.64 kB / 0.8186 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.5068, allocations: 35.34 kB / 0.8186 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.5068, allocations: 1.594 kB / 0.8186 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.5068, allocations: 16.38 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.507, allocations: 67.44 kB / 0.8187 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.507, allocations: 5.172 kB / 0.8187 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.5071, allocations: 43.09 kB / 0.8187 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.5071, allocations: 21.19 kB / 0.8187 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.5072, allocations: 16.36 kB / 0.8187 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.5073, allocations: 64.12 kB / 0.8188 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5073, allocations: 2.219 kB / 0.8188 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5073, allocations: 0 / 0.8188 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5073, allocations: 0 / 0.8188 GB, free: 0.5156 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.0002315/0.5075, allocations: 293 kB / 0.8191 GB, free: 236 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5076, allocations: 7.312 kB / 0.8191 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.5076, allocations: 45.52 kB / 0.8191 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.5076, allocations: 11.42 kB / 0.8192 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.535e-05/0.5077, allocations: 111 kB / 0.8193 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5077, allocations: 2.844 kB / 0.8193 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.5077, allocations: 5.844 kB / 0.8193 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.508, allocations: 437.7 kB / 0.8197 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.508, allocations: 1.922 kB / 0.8197 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.508, allocations: 6.703 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.508, allocations: 19.78 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.5081, allocations: 40.22 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.5086, allocations: 0.8734 MB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.5086, allocations: 181.1 kB / 0.8208 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.5087, allocations: 80.14 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.5087, allocations: 75.28 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.5087, allocations: 117.1 kB / 0.821 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5087, allocations: 0 / 0.821 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.025e-05/0.5088, allocations: 39.73 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.5089, allocations: 388.2 kB / 0.8214 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.509, allocations: 174.8 kB / 0.8216 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.509, allocations: 29.5 kB / 0.8216 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.5091, allocations: 153.7 kB / 0.8218 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.5091, allocations: 10.39 kB / 0.8218 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.5091, allocations: 55 kB / 0.8218 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.5092, allocations: 321.8 kB / 0.8222 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.5092, allocations: 26.83 kB / 0.8222 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.5094, allocations: 479.6 kB / 0.8226 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.5096, allocations: 204.6 kB / 0.8228 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5096, allocations: 6.906 kB / 0.8228 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002069/0.5098, allocations: 186.9 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5099, allocations: 8.234 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5099, allocations: 5.406 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5099, allocations: 9.562 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.51, allocations: 45.64 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.51, allocations: 10.58 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.51, allocations: 24.17 kB / 0.8231 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.51, allocations: 11.78 kB / 0.8231 GB, free: 12.25 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 8.271e-05/0.5101, allocations: 216.2 kB / 0.8233 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.5102, allocations: 120.8 kB / 0.8234 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.5102, allocations: 118.2 kB / 0.8236 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/0.5102, allocations: 179.4 kB / 0.8237 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-05/0.5103, allocations: 184.3 kB / 0.8239 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/0.5103, allocations: 181 kB / 0.8241 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.5105, allocations: 392.9 kB / 0.8245 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/0.5105, allocations: 108.6 kB / 0.8246 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.5105, allocations: 101.7 kB / 0.8247 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.66e-05/0.5105, allocations: 181 kB / 0.8248 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.5106, allocations: 183 kB / 0.825 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.735e-05/0.5106, allocations: 187.6 kB / 0.8252 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.498e-05/0.5107, allocations: 176.8 kB / 0.8254 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.23e-05/0.5107, allocations: 318.5 kB / 0.8257 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.5108, allocations: 105.6 kB / 0.8258 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.5108, allocations: 192.1 kB / 0.8259 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.5109, allocations: 111.3 kB / 0.826 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.5109, allocations: 181 kB / 0.8262 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.511, allocations: 103.2 kB / 0.8263 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.511, allocations: 116 kB / 0.8264 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.511, allocations: 0 / 0.8264 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002098/0.5112, allocations: 24.31 kB / 0.8264 GB, free: 8.789 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.0006884/0.5119, allocations: 0.8308 MB / 0.8273 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.5121, allocations: 75.38 kB / 0.8273 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5121, allocations: 1.312 kB / 0.8273 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.5121, allocations: 7.438 kB / 0.8273 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.5123, allocations: 468.9 kB / 0.8278 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.5128, allocations: 271.6 kB / 0.828 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.5128, allocations: 77.78 kB / 0.8281 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.513, allocations: 58.22 kB / 0.8282 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.513, allocations: 19.72 kB / 0.8282 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.513, allocations: 1.344 kB / 0.8282 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.5292, allocations: 3.589 MB / 0.8317 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/7.217, allocations: 9.547 kB / 0.8317 GB, free: 6.125 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.310725259128958] Failed to read output from testmodel.py, exit status != 0: 7.298362692818046 7.313314405 6.80383591 Calling exit ...