Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001364/0.001364, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.00149/0.00149, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8611/0.8611, allocations: 133.9 MB / 443.5 MB, free: 14.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",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.002011/0.002011, allocations: 68.28 kB / 0.6141 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1522, allocations: 85.86 MB / 0.698 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001993/0.1542, allocations: 0.5953 MB / 0.6986 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.1546, allocations: 69.75 kB / 0.6986 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.1546, allocations: 1.312 kB / 0.6986 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.1547, allocations: 3.984 kB / 0.6986 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.1547, allocations: 7.344 kB / 0.6987 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1551, allocations: 46.44 kB / 0.6987 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.1551, allocations: 27.55 kB / 0.6987 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1552, allocations: 2.75 kB / 0.6987 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.1552, allocations: 19.47 kB / 0.6987 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1554, allocations: 61.47 kB / 0.6988 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1554, allocations: 2.156 kB / 0.6988 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1555, allocations: 37.23 kB / 0.6988 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.1556, allocations: 16.44 kB / 0.6989 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1556, allocations: 26 kB / 0.6989 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1557, allocations: 64.78 kB / 0.6989 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1558, allocations: 3.938 kB / 0.6989 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1558, allocations: 4 kB / 0.6989 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.1558, allocations: 1.344 kB / 0.699 GB, free: 12.84 MB / 0.5137 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.0004192/0.1562, allocations: 366.2 kB / 0.6993 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1562, allocations: 11.55 kB / 0.6993 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.1562, allocations: 5.688 kB / 0.6993 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.1563, allocations: 33.84 kB / 0.6993 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1563, allocations: 13.47 kB / 0.6994 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1564, allocations: 168.7 kB / 0.6995 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1565, allocations: 5.625 kB / 0.6995 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1565, allocations: 6.656 kB / 0.6995 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.1567, allocations: 173.6 kB / 0.6997 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1567, allocations: 9.703 kB / 0.6997 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1567, allocations: 1.812 kB / 0.6997 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/0.1568, allocations: 26.77 kB / 0.6997 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.1568, allocations: 41.03 kB / 0.6998 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007252/0.1576, allocations: 0.9068 MB / 0.7007 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1577, allocations: 178.4 kB / 0.7008 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.1577, allocations: 80.14 kB / 0.7009 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.1578, allocations: 75.28 kB / 0.701 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.1578, allocations: 108.6 kB / 0.7011 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.1578, allocations: 4 kB / 0.7011 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.547e-05/0.1579, allocations: 39.09 kB / 0.7011 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.1581, allocations: 390.5 kB / 0.7015 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1583, allocations: 169.1 kB / 0.7017 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1583, allocations: 27.08 kB / 0.7017 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.1584, allocations: 147.8 kB / 0.7018 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.1584, allocations: 5.359 kB / 0.7018 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.1584, allocations: 61.06 kB / 0.7019 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1586, allocations: 321.6 kB / 0.7022 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.1586, allocations: 28.47 kB / 0.7022 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1588, allocations: 220.9 kB / 0.7024 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.159, allocations: 196.4 kB / 0.7026 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.159, allocations: 1.375 kB / 0.7026 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003166/0.1593, allocations: 193.1 kB / 0.7028 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1594, allocations: 6.875 kB / 0.7028 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1594, allocations: 12 kB / 0.7028 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1594, allocations: 6.875 kB / 0.7028 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1595, allocations: 38.8 kB / 0.7029 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.1595, allocations: 6.031 kB / 0.7029 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.1596, allocations: 30.39 kB / 0.7029 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1596, allocations: 14.28 kB / 0.7029 GB, free: 8.848 MB / 0.5137 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.0001471/0.1598, allocations: 212.6 kB / 0.7031 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.1599, allocations: 118.4 kB / 0.7032 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.69e-05/0.1599, allocations: 116.7 kB / 0.7033 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.032e-05/0.16, allocations: 177.2 kB / 0.7035 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.728e-05/0.1601, allocations: 185.9 kB / 0.7037 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.991e-05/0.1601, allocations: 181.4 kB / 0.7039 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.1604, allocations: 427.6 kB / 0.7043 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.1605, allocations: 102.4 kB / 0.7044 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1605, allocations: 105 kB / 0.7045 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.797e-05/0.1606, allocations: 189.2 kB / 0.7046 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/0.1607, allocations: 181.3 kB / 0.7048 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-05/0.1608, allocations: 185.8 kB / 0.705 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.239e-05/0.1608, allocations: 177 kB / 0.7052 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.161, allocations: 315.7 kB / 0.7055 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.1611, allocations: 188.5 kB / 0.7056 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.1612, allocations: 186.4 kB / 0.7058 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.1613, allocations: 105 kB / 0.7059 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.1614, allocations: 184.2 kB / 0.7061 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.1614, allocations: 102.5 kB / 0.7062 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.828e-05/0.1615, allocations: 119.4 kB / 0.7063 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1615, allocations: 0 / 0.7063 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003282/0.1618, allocations: 34.78 kB / 0.7063 GB, free: 5.211 MB / 0.5137 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.0005111/0.1623, allocations: 0.8261 MB / 0.7072 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1625, allocations: 72.66 kB / 0.7072 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1625, allocations: 1.125 kB / 0.7072 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1625, allocations: 0 / 0.7072 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1629, allocations: 464.4 kB / 0.7077 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.1634, allocations: 284.1 kB / 0.7079 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1637, allocations: 0.6935 MB / 0.7086 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.1639, allocations: 52.42 kB / 0.7087 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.164, allocations: 30.23 kB / 0.7087 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.164, allocations: 0 / 0.7087 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.1911, allocations: 2.99 MB / 0.7116 GB, free: 256 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.436, allocations: 19.94 kB / 0.7116 GB, free: 236 kB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.15947747597238] Failed to read output from testmodel.py, exit status != 0: 8.847099752980284 8.584948257 8.425070361 Calling exit ...