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.0008283/0.0008283, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009094/0.0009094, allocations: 219.2 kB / 22.26 MB, free: 3.84 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/1, allocations: 230.6 MB / 256 MB, free: 9.797 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.7813/0.7813, allocations: 203.8 MB / 0.5042 GB, free: 10.61 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.0008987/0.0008987, allocations: 71.94 kB / 0.7183 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4871, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001314/0.4884, allocations: 0.6025 MB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000272/0.4887, allocations: 68.62 kB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.4887, allocations: 5.594 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.4888, allocations: 2.859 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.4888, allocations: 8.047 kB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.4891, allocations: 45.64 kB / 0.8186 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.4892, allocations: 28.45 kB / 0.8187 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.4892, allocations: 4.234 kB / 0.8187 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.4892, allocations: 17.36 kB / 0.8187 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.4894, allocations: 66.25 kB / 0.8187 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.4894, allocations: 5.469 kB / 0.8187 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.4895, allocations: 47.28 kB / 0.8188 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.4895, allocations: 21.73 kB / 0.8188 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.4895, allocations: 16.88 kB / 0.8188 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.4896, allocations: 68.89 kB / 0.8189 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4896, allocations: 0 / 0.8189 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4896, allocations: 0 / 0.8189 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4896, allocations: 0 / 0.8189 GB, free: 0.7109 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.0002151/0.4899, allocations: 290.8 kB / 0.8192 GB, free: 436 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4899, allocations: 9.938 kB / 0.8192 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.4899, allocations: 49.45 kB / 0.8192 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.49, allocations: 9.141 kB / 0.8192 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.248e-05/0.49, allocations: 122.6 kB / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.49, allocations: 384 / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.49, allocations: 2.625 kB / 0.8194 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4902, allocations: 179.3 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.4902, allocations: 7.938 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4902, allocations: 7.312 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.4902, allocations: 20.61 kB / 0.8196 GB, free: 120 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.4903, allocations: 39.25 kB / 0.8196 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.4908, allocations: 0.8745 MB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.4909, allocations: 175.1 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.4909, allocations: 80.14 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4909, allocations: 79.28 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.491, allocations: 113.2 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.491, allocations: 0 / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.491, allocations: 36.72 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.4912, allocations: 394.1 kB / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4913, allocations: 170 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4913, allocations: 25.7 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.4914, allocations: 157.2 kB / 0.8216 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-06/0.4914, allocations: 3.531 kB / 0.8216 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.4915, allocations: 57.17 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.4915, allocations: 323 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.4916, allocations: 27.2 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4917, allocations: 221.2 kB / 0.8222 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4918, allocations: 193.8 kB / 0.8224 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4918, allocations: 1.969 kB / 0.8224 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000222/0.4921, allocations: 192.2 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4921, allocations: 7.656 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4921, allocations: 7.688 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4921, allocations: 10.88 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.4922, allocations: 39.89 kB / 0.8227 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4922, allocations: 10.14 kB / 0.8227 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.4923, allocations: 24.61 kB / 0.8227 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4923, allocations: 13.56 kB / 0.8227 GB, free: 13.06 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.0001104/0.4924, allocations: 209.6 kB / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.4924, allocations: 117.2 kB / 0.823 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.4928, allocations: 125.3 kB / 0.8231 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.4928, allocations: 180.7 kB / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-05/0.4929, allocations: 181.9 kB / 0.8235 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-05/0.4929, allocations: 179.6 kB / 0.8237 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4931, allocations: 401.1 kB / 0.824 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.4931, allocations: 109.5 kB / 0.8241 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.4931, allocations: 101.5 kB / 0.8242 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.277e-05/0.4932, allocations: 185 kB / 0.8244 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.4932, allocations: 189 kB / 0.8246 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.961e-05/0.4933, allocations: 180.9 kB / 0.8248 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.145e-05/0.4933, allocations: 182.3 kB / 0.8249 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.922e-05/0.4934, allocations: 314.6 kB / 0.8252 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.4934, allocations: 108.4 kB / 0.8253 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.4935, allocations: 186.4 kB / 0.8255 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.4935, allocations: 104.6 kB / 0.8256 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.4936, allocations: 187.1 kB / 0.8258 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.4936, allocations: 106 kB / 0.8259 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.4937, allocations: 117.5 kB / 0.826 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4937, allocations: 0 / 0.826 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002224/0.4939, allocations: 26.52 kB / 0.826 GB, free: 9.586 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.0003529/0.4943, allocations: 0.83 MB / 0.8268 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.4944, allocations: 71.06 kB / 0.8269 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4944, allocations: 0 / 0.8269 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.4944, allocations: 1.188 kB / 0.8269 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.4947, allocations: 480 kB / 0.8274 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.495, allocations: 278.9 kB / 0.8276 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.4952, allocations: 0.6945 MB / 0.8283 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.4954, allocations: 48.88 kB / 0.8284 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.4954, allocations: 24.94 kB / 0.8284 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4954, allocations: 1.469 kB / 0.8284 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.5121, allocations: 3.135 MB / 0.8315 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/7.227, allocations: 6.688 kB / 0.8315 GB, free: 6.781 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.149153494974598] Failed to read output from testmodel.py, exit status != 0: 7.305866123875603 7.318909192 6.827094966 Calling exit ...