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.0007622/0.0007622, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008636/0.0008636, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8743/0.8743, allocations: 230.6 MB / 256.8 MB, free: 3.449 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.7339/0.7339, allocations: 203.8 MB / 0.5049 GB, free: 0.6641 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [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.0008795/0.0008795, allocations: 71.88 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.458, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001193/0.4592, allocations: 0.6072 MB / 0.8197 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.4594, allocations: 71.56 kB / 0.8198 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.4595, allocations: 3.469 kB / 0.8198 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.4595, allocations: 1.125 kB / 0.8198 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.4595, allocations: 9.406 kB / 0.8198 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.4598, allocations: 45.83 kB / 0.8198 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.4599, allocations: 28.92 kB / 0.8199 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.4599, allocations: 7.438 kB / 0.8199 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.4599, allocations: 13.08 kB / 0.8199 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.4601, allocations: 66.94 kB / 0.82 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.4601, allocations: 1.25 kB / 0.82 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.4602, allocations: 45.91 kB / 0.82 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.4603, allocations: 23.31 kB / 0.82 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.4603, allocations: 19.78 kB / 0.82 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.4604, allocations: 66.7 kB / 0.8201 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.4604, allocations: 0.5 kB / 0.8201 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4604, allocations: 2.562 kB / 0.8201 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4604, allocations: 0 / 0.8201 GB, free: 24.73 MB / 0.6355 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.0002268/0.4606, allocations: 292.5 kB / 0.8204 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4607, allocations: 10.31 kB / 0.8204 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.4607, allocations: 10.12 kB / 0.8204 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.667e-05/0.4607, allocations: 113.8 kB / 0.8205 GB, free: 24.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4608, allocations: 3.531 kB / 0.8205 GB, free: 24.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4608, allocations: 1.875 kB / 0.8205 GB, free: 24.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.461, allocations: 188.5 kB / 0.8207 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.461, allocations: 1.219 kB / 0.8207 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.461, allocations: 1.344 kB / 0.8207 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.461, allocations: 25.36 kB / 0.8207 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/0.4611, allocations: 36.91 kB / 0.8208 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.4615, allocations: 0.8844 MB / 0.8216 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.257e-05/0.4615, allocations: 170.7 kB / 0.8218 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.4615, allocations: 81.27 kB / 0.8219 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.4615, allocations: 75.89 kB / 0.8219 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.4615, allocations: 114.6 kB / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.4615, allocations: 0 / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.614e-05/0.4616, allocations: 40.89 kB / 0.8221 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4616, allocations: 386.5 kB / 0.8225 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4617, allocations: 171.7 kB / 0.8226 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.4618, allocations: 31.11 kB / 0.8227 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.4618, allocations: 160 kB / 0.8228 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-06/0.4618, allocations: 1.781 kB / 0.8228 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.4619, allocations: 57 kB / 0.8229 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.97e-05/0.4619, allocations: 323.9 kB / 0.8232 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.4619, allocations: 26.38 kB / 0.8232 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.462, allocations: 220.9 kB / 0.8234 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.4621, allocations: 201.3 kB / 0.8236 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4621, allocations: 2.094 kB / 0.8236 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002133/0.4623, allocations: 191.7 kB / 0.8238 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4624, allocations: 8.219 kB / 0.8238 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4624, allocations: 4.219 kB / 0.8238 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4624, allocations: 10.23 kB / 0.8238 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.4625, allocations: 38.91 kB / 0.8238 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4625, allocations: 11.12 kB / 0.8239 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.4625, allocations: 26.41 kB / 0.8239 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4625, allocations: 14.81 kB / 0.8239 GB, free: 21.14 MB / 0.6355 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 5.74e-05/0.4626, allocations: 216.5 kB / 0.8241 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4626, allocations: 108.2 kB / 0.8242 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.4626, allocations: 123.6 kB / 0.8243 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4627, allocations: 180.2 kB / 0.8245 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.4627, allocations: 182 kB / 0.8247 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4627, allocations: 182.2 kB / 0.8248 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.62e-05/0.4628, allocations: 396.4 kB / 0.8252 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.4628, allocations: 108.8 kB / 0.8253 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-06/0.4628, allocations: 102.6 kB / 0.8254 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.4628, allocations: 185.5 kB / 0.8256 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4628, allocations: 178.5 kB / 0.8258 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/0.4628, allocations: 182.3 kB / 0.8259 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.4628, allocations: 184.9 kB / 0.8261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.806e-05/0.4629, allocations: 313.8 kB / 0.8264 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.4629, allocations: 110.2 kB / 0.8265 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.4629, allocations: 178.9 kB / 0.8267 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.463, allocations: 120.6 kB / 0.8268 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.463, allocations: 178.4 kB / 0.827 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.463, allocations: 106.5 kB / 0.8271 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.463, allocations: 117.1 kB / 0.8272 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.463, allocations: 0 / 0.8272 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002/0.4632, allocations: 26.94 kB / 0.8272 GB, free: 17.68 MB / 0.6355 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.0001125/0.4634, allocations: 181.5 kB / 0.8274 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.4635, allocations: 69.95 kB / 0.8275 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4635, allocations: 0.5938 kB / 0.8275 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.4635, allocations: 2.516 kB / 0.8275 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.4637, allocations: 479.8 kB / 0.8279 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.4639, allocations: 259.6 kB / 0.8282 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.887e-05/0.464, allocations: 0.6922 MB / 0.8288 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.464, allocations: 15.47 kB / 0.8289 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.464, allocations: 0.5938 kB / 0.8289 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.002669/0.4667, allocations: 1.725 MB / 0.8305 GB, free: 15.96 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.765823475085199] Failed to read output from testmodel.py, exit status != 0: 0.4714545691385865 0.47884731900000005 0.016913728 Calling exit ...