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.0007476/0.0007476, 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.0007835/0.0007835, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9379/0.9379, allocations: 230.6 MB / 256 MB, free: 9.578 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.7726/0.7726, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0008393/0.0008393, allocations: 61.25 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5045, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001357/0.5059, allocations: 0.6165 MB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.5062, allocations: 65.92 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.5062, allocations: 2.406 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.5062, allocations: 1.453 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.5063, allocations: 8.453 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.5066, allocations: 40.36 kB / 0.8185 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.5066, allocations: 35.47 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.5067, allocations: 4.375 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.5067, allocations: 14.33 kB / 0.8186 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.5069, allocations: 71.95 kB / 0.8187 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5069, allocations: 0 / 0.8187 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.507, allocations: 45.03 kB / 0.8187 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.507, allocations: 20.88 kB / 0.8187 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.507, allocations: 13.33 kB / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.5072, allocations: 65.81 kB / 0.8188 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5072, allocations: 7.438 kB / 0.8188 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5072, allocations: 0 / 0.8188 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5072, allocations: 0 / 0.8188 GB, free: 0.5039 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.0002613/0.5075, allocations: 291.6 kB / 0.8191 GB, free: 224 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5075, allocations: 8.562 kB / 0.8191 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.5075, allocations: 46.77 kB / 0.8191 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.5076, allocations: 8.656 kB / 0.8192 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.727e-05/0.5076, allocations: 113.5 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5076, allocations: 1.719 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.5077, allocations: 1.688 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.508, allocations: 444.2 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.508, allocations: 0 / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.508, allocations: 3.781 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.5081, allocations: 18.95 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.5081, allocations: 45.17 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.5087, allocations: 0.8747 MB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.5087, allocations: 169.1 kB / 0.8208 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.5088, allocations: 81.17 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.5088, allocations: 82.22 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.5088, allocations: 114.8 kB / 0.821 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5088, allocations: 0 / 0.821 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.048e-05/0.5089, allocations: 35.81 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.509, allocations: 392 kB / 0.8214 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.5091, allocations: 175.1 kB / 0.8216 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5091, allocations: 26.8 kB / 0.8216 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.5092, allocations: 150.8 kB / 0.8218 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.5092, allocations: 12.3 kB / 0.8218 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.5093, allocations: 52.31 kB / 0.8218 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.5093, allocations: 323.9 kB / 0.8221 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.5094, allocations: 26.64 kB / 0.8222 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.5096, allocations: 478.1 kB / 0.8226 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5097, allocations: 204.1 kB / 0.8228 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5097, allocations: 0 / 0.8228 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000248/0.51, allocations: 192.2 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.51, allocations: 7.219 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.51, allocations: 5.938 kB / 0.823 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.51, allocations: 14.09 kB / 0.823 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.5101, allocations: 40.45 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5101, allocations: 8.281 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.5102, allocations: 27.98 kB / 0.8231 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5102, allocations: 9.969 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 9.412e-05/0.5103, allocations: 223.3 kB / 0.8233 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.5103, allocations: 112 kB / 0.8234 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.5104, allocations: 124 kB / 0.8236 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-05/0.5104, allocations: 186.3 kB / 0.8237 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.31e-05/0.5104, allocations: 185 kB / 0.8239 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-05/0.5105, allocations: 177.1 kB / 0.8241 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.5106, allocations: 398 kB / 0.8245 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/0.5107, allocations: 105.3 kB / 0.8246 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.5107, allocations: 102.1 kB / 0.8247 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.542e-05/0.5107, allocations: 180.9 kB / 0.8248 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.5108, allocations: 182.8 kB / 0.825 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.891e-05/0.5108, allocations: 188.1 kB / 0.8252 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-05/0.5109, allocations: 178.7 kB / 0.8254 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.318e-05/0.511, allocations: 316.8 kB / 0.8257 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.511, allocations: 110.9 kB / 0.8258 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.5111, allocations: 191.3 kB / 0.8259 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.036e-05/0.5111, allocations: 104.8 kB / 0.826 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.5112, allocations: 177.8 kB / 0.8262 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.5112, allocations: 106.5 kB / 0.8263 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.5113, allocations: 114.7 kB / 0.8264 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5113, allocations: 0 / 0.8264 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002048/0.5115, allocations: 27 kB / 0.8264 GB, free: 8.781 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.0003184/0.5118, allocations: 0.8324 MB / 0.8273 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.5119, allocations: 75.62 kB / 0.8273 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5119, allocations: 3.938 kB / 0.8273 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.5119, allocations: 0 / 0.8273 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.5122, allocations: 467.8 kB / 0.8278 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.5126, allocations: 277.4 kB / 0.828 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.5127, allocations: 76.92 kB / 0.8281 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.5128, allocations: 54.22 kB / 0.8282 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.5129, allocations: 20.39 kB / 0.8282 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5129, allocations: 0 / 0.8282 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.5304, allocations: 3.59 MB / 0.8317 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/7.208, allocations: 5.719 kB / 0.8317 GB, free: 6.129 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.059954289346933] Failed to read output from testmodel.py, exit status != 0: 7.288371137343347 7.299336507 6.789870134 Calling exit ...