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.0008741/0.0008741, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008387/0.0008387, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9516/0.9516, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7501/0.7501, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.977e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001992/0.002022, allocations: 0.6194 MB / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000388/0.00241, allocations: 63.84 kB / 0.6188 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.002439, allocations: 4 kB / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.002481, allocations: 7.984 kB / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.002535, allocations: 7.938 kB / 0.6188 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.00293, allocations: 39.94 kB / 0.6188 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.003002, allocations: 23.92 kB / 0.6188 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.003052, allocations: 4 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.003095, allocations: 23.95 kB / 0.6189 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.003284, allocations: 63.94 kB / 0.6189 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.003302, allocations: 8 kB / 0.6189 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.003392, allocations: 43.94 kB / 0.619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.003432, allocations: 15.92 kB / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.003457, allocations: 19.92 kB / 0.619 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.003597, allocations: 67.86 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.0036, allocations: 0 / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.855e-06/0.003603, allocations: 7.922 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003607, allocations: 0 / 0.6191 GB, free: 12.54 MB / 0.5886 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.0003036/0.003911, allocations: 290.2 kB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.003956, allocations: 9.469 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.003994, allocations: 42.73 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.004031, allocations: 12.88 kB / 0.6194 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.004105, allocations: 105.8 kB / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.00412, allocations: 384 / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.004131, allocations: 8.359 kB / 0.6195 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.004447, allocations: 432.9 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.004457, allocations: 192 / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.004474, allocations: 11.92 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.004516, allocations: 23.97 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.004576, allocations: 35.86 kB / 0.62 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.005285, allocations: 0.8625 MB / 0.6209 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/0.005366, allocations: 173.1 kB / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.005399, allocations: 88.08 kB / 0.6211 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.005423, allocations: 75.28 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.005464, allocations: 113.8 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.005465, allocations: 0 / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.782e-05/0.005543, allocations: 37.59 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.005682, allocations: 391.7 kB / 0.6217 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.005834, allocations: 180.6 kB / 0.6219 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.005852, allocations: 29.64 kB / 0.6219 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.005934, allocations: 151.5 kB / 0.622 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.994e-06/0.005941, allocations: 7.984 kB / 0.6221 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.005993, allocations: 53.66 kB / 0.6221 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.006087, allocations: 322.8 kB / 0.6224 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.006124, allocations: 27.97 kB / 0.6224 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.006353, allocations: 479.6 kB / 0.6229 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.0065, allocations: 201.8 kB / 0.6231 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.006503, allocations: 0 / 0.6231 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002392/0.006742, allocations: 193.7 kB / 0.6233 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.006757, allocations: 8 kB / 0.6233 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.006764, allocations: 7.938 kB / 0.6233 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.006778, allocations: 11.94 kB / 0.6233 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.006876, allocations: 35.92 kB / 0.6233 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.006887, allocations: 15.92 kB / 0.6234 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.00695, allocations: 23.84 kB / 0.6234 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.006959, allocations: 12 kB / 0.6234 GB, free: 7.559 MB / 0.5886 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.354e-05/0.007053, allocations: 218 kB / 0.6236 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.007097, allocations: 112.9 kB / 0.6237 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.007451, allocations: 112.9 kB / 0.6238 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-05/0.007495, allocations: 188.2 kB / 0.624 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-05/0.007541, allocations: 184.2 kB / 0.6242 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/0.007586, allocations: 180.2 kB / 0.6243 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.007743, allocations: 392.2 kB / 0.6247 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.007769, allocations: 105 kB / 0.6248 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.007801, allocations: 109 kB / 0.6249 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-05/0.007857, allocations: 180.2 kB / 0.6251 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.007903, allocations: 180.4 kB / 0.6253 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-05/0.007947, allocations: 180.2 kB / 0.6254 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.565e-05/0.007992, allocations: 188.3 kB / 0.6256 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.008106, allocations: 319.7 kB / 0.6259 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.008139, allocations: 104.9 kB / 0.626 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.008196, allocations: 188.2 kB / 0.6262 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.008256, allocations: 109 kB / 0.6263 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.008306, allocations: 184.1 kB / 0.6265 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.008331, allocations: 105 kB / 0.6266 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.008395, allocations: 113.9 kB / 0.6267 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008395, allocations: 0 / 0.6267 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002394/0.008635, allocations: 28 kB / 0.6267 GB, free: 3.957 MB / 0.5886 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.0004127/0.009047, allocations: 0.8281 MB / 0.6275 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.009199, allocations: 75.78 kB / 0.6276 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.009202, allocations: 96 / 0.6276 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.009204, allocations: 5.25 kB / 0.6276 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.009471, allocations: 473.8 kB / 0.628 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.009884, allocations: 266.3 kB / 0.6283 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.009948, allocations: 83.97 kB / 0.6284 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.01012, allocations: 60.53 kB / 0.6284 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.01016, allocations: 24.44 kB / 0.6285 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.01016, allocations: 0 / 0.6285 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.03061, allocations: 3.71 MB / 0.6321 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.906, allocations: 5.75 kB / 0.6321 GB, free: 14.57 MB / 0.6042 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: 9.876251340843737] Failed to read output from testmodel.py, exit status != 0: 6.992963148280978 7.006258939 6.999654944 Calling exit ...