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.001743/0.001743, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002178/0.002178, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.738 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.851/0.851, allocations: 134 MB / 446.4 MB, free: 10.36 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_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.002208/0.002208, allocations: 71.17 kB / 0.6185 GB, free: 6.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1719, allocations: 85.91 MB / 0.7024 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00189/0.1738, allocations: 0.5976 MB / 0.703 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.1742, allocations: 71.84 kB / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.1742, allocations: 0 / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.976e-05/0.1743, allocations: 3.984 kB / 0.7031 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.1743, allocations: 7.938 kB / 0.7031 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1747, allocations: 47.94 kB / 0.7031 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.1747, allocations: 31.86 kB / 0.7032 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.1748, allocations: 4.391 kB / 0.7032 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.1748, allocations: 11.98 kB / 0.7032 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.175, allocations: 67.94 kB / 0.7032 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1751, allocations: 3.938 kB / 0.7032 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1752, allocations: 43.94 kB / 0.7033 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1752, allocations: 15.98 kB / 0.7033 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1753, allocations: 15.88 kB / 0.7033 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1754, allocations: 72 kB / 0.7034 GB, free: 40 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1754, allocations: 0 / 0.7034 GB, free: 40 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1754, allocations: 0 / 0.7034 GB, free: 40 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1754, allocations: 7.938 kB / 0.7034 GB, free: 32 kB / 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.0003648/0.1758, allocations: 294.1 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1758, allocations: 12.92 kB / 0.7037 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.1758, allocations: 38.75 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.1759, allocations: 8.891 kB / 0.7037 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.176, allocations: 110.5 kB / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.176, allocations: 384 / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.176, allocations: 384 / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.1764, allocations: 445.4 kB / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1764, allocations: 0 / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1764, allocations: 0 / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.1765, allocations: 31.97 kB / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.1765, allocations: 39.84 kB / 0.7043 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.1773, allocations: 0.8703 MB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1774, allocations: 173.1 kB / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.1775, allocations: 84.14 kB / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.1775, allocations: 75.28 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.819e-05/0.1776, allocations: 109.8 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1776, allocations: 3.938 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.651e-05/0.1776, allocations: 37.59 kB / 0.7056 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/0.1779, allocations: 395.7 kB / 0.706 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1781, allocations: 175.7 kB / 0.7062 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1781, allocations: 29.7 kB / 0.7062 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1782, allocations: 151.5 kB / 0.7064 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.1782, allocations: 0 / 0.7064 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.1783, allocations: 57.66 kB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1784, allocations: 322.8 kB / 0.7067 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.1785, allocations: 23.98 kB / 0.7067 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.1788, allocations: 481.8 kB / 0.7072 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.179, allocations: 201.8 kB / 0.7074 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1791, allocations: 0 / 0.7074 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003733/0.1794, allocations: 197.2 kB / 0.7076 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1794, allocations: 8 kB / 0.7076 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1795, allocations: 7.938 kB / 0.7076 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.1795, allocations: 7.938 kB / 0.7076 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1796, allocations: 39.92 kB / 0.7076 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1796, allocations: 8.594 kB / 0.7076 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1797, allocations: 27.88 kB / 0.7077 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1797, allocations: 12 kB / 0.7077 GB, free: 11.05 MB / 0.5294 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.0001614/0.1799, allocations: 217 kB / 0.7079 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.18, allocations: 113 kB / 0.708 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.1801, allocations: 128.7 kB / 0.7081 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/0.1802, allocations: 180.3 kB / 0.7083 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.184e-05/0.1803, allocations: 180.2 kB / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/0.1803, allocations: 176.3 kB / 0.7086 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.1806, allocations: 396.2 kB / 0.709 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-05/0.1807, allocations: 105 kB / 0.7091 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.1807, allocations: 105 kB / 0.7092 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-05/0.1808, allocations: 180.2 kB / 0.7094 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.1809, allocations: 188.2 kB / 0.7096 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.532e-05/0.181, allocations: 184.2 kB / 0.7097 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.578e-05/0.1811, allocations: 176.3 kB / 0.7099 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1813, allocations: 315.7 kB / 0.7102 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.1813, allocations: 108.9 kB / 0.7103 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.1815, allocations: 192.1 kB / 0.7105 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1816, allocations: 105 kB / 0.7106 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.1817, allocations: 188.5 kB / 0.7108 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.1818, allocations: 105 kB / 0.7109 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.202e-05/0.1819, allocations: 119.2 kB / 0.711 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1819, allocations: 0 / 0.711 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003455/0.1822, allocations: 28 kB / 0.711 GB, free: 7.438 MB / 0.5294 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.0005586/0.1828, allocations: 0.8281 MB / 0.7118 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1829, allocations: 72.89 kB / 0.7119 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1829, allocations: 4.188 kB / 0.7119 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.183, allocations: 0 / 0.7119 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1834, allocations: 467.7 kB / 0.7123 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.1839, allocations: 274.2 kB / 0.7126 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.184, allocations: 75.98 kB / 0.7127 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.1842, allocations: 52.59 kB / 0.7127 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.1843, allocations: 27.38 kB / 0.7128 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1843, allocations: 0 / 0.7128 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.2142, allocations: 3.583 MB / 0.7163 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.16, allocations: 12.05 kB / 0.7163 GB, free: 2.164 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.793478855863214] Failed to read output from testmodel.py, exit status != 0: 11.273978733923286 11.298751881 11.119503247 Calling exit ...