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.001777/0.001777, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002077/0.002077, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8529/0.8529, allocations: 134 MB / 447.2 MB, free: 9.91 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.001951/0.001951, allocations: 66.2 kB / 0.6193 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 85.91 MB / 0.7032 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00182/0.1746, allocations: 0.5915 MB / 0.7038 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.1749, allocations: 71.78 kB / 0.7038 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.175, allocations: 0 / 0.7038 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.175, allocations: 7.984 kB / 0.7038 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.175, allocations: 4 kB / 0.7038 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1753, allocations: 51.88 kB / 0.7039 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.1754, allocations: 19.98 kB / 0.7039 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.1754, allocations: 416 / 0.7039 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.1755, allocations: 19.92 kB / 0.7039 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1757, allocations: 71.92 kB / 0.704 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1757, allocations: 0 / 0.704 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1758, allocations: 51.88 kB / 0.7041 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.1759, allocations: 19.94 kB / 0.7041 GB, free: 108 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1759, allocations: 19.86 kB / 0.7041 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.176, allocations: 71.94 kB / 0.7042 GB, free: 16 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1761, allocations: 0 / 0.7042 GB, free: 16 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1761, allocations: 4 kB / 0.7042 GB, free: 12 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.1761, allocations: 0 / 0.7042 GB, free: 12 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.0003921/0.1765, allocations: 290.2 kB / 0.7044 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1765, allocations: 8.031 kB / 0.7044 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.44e-05/0.1765, allocations: 192 / 0.7044 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.1766, allocations: 50.72 kB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1766, allocations: 12.89 kB / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.1767, allocations: 106.5 kB / 0.7046 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.1767, allocations: 384 / 0.7046 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1767, allocations: 4.375 kB / 0.7046 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.1772, allocations: 441.2 kB / 0.705 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1772, allocations: 0 / 0.705 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1772, allocations: 4 kB / 0.705 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-05/0.1772, allocations: 23.97 kB / 0.7051 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.1773, allocations: 43.89 kB / 0.7051 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.1781, allocations: 0.8741 MB / 0.706 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1782, allocations: 165.1 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.1782, allocations: 88.08 kB / 0.7062 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.1783, allocations: 75.28 kB / 0.7063 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/0.1783, allocations: 117.8 kB / 0.7064 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1783, allocations: 0 / 0.7064 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.193e-05/0.1784, allocations: 37.66 kB / 0.7064 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/0.1786, allocations: 387.7 kB / 0.7068 GB, free: 13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1788, allocations: 168.1 kB / 0.7069 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1789, allocations: 29.7 kB / 0.707 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.179, allocations: 147.5 kB / 0.7071 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.179, allocations: 8 kB / 0.7071 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.1791, allocations: 57.59 kB / 0.7072 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1792, allocations: 326.8 kB / 0.7075 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1792, allocations: 23.98 kB / 0.7075 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.1796, allocations: 475.6 kB / 0.708 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1799, allocations: 209.7 kB / 0.7082 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1799, allocations: 0 / 0.7082 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003377/0.1802, allocations: 189.8 kB / 0.7083 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1802, allocations: 11.98 kB / 0.7084 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1802, allocations: 7.938 kB / 0.7084 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.1803, allocations: 8 kB / 0.7084 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1804, allocations: 35.92 kB / 0.7084 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.1804, allocations: 12.03 kB / 0.7084 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.1805, allocations: 31.77 kB / 0.7085 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1805, allocations: 8 kB / 0.7085 GB, free: 11.03 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.0001575/0.1807, allocations: 213 kB / 0.7087 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.1808, allocations: 108.9 kB / 0.7088 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.1808, allocations: 128.8 kB / 0.7089 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.95e-05/0.1809, allocations: 180.3 kB / 0.7091 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.077e-05/0.181, allocations: 180.3 kB / 0.7092 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-05/0.1811, allocations: 184.2 kB / 0.7094 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.1813, allocations: 392.3 kB / 0.7098 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.1814, allocations: 104.9 kB / 0.7099 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1814, allocations: 101 kB / 0.71 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.551e-05/0.1815, allocations: 176.3 kB / 0.7101 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/0.1816, allocations: 188.1 kB / 0.7103 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-05/0.1817, allocations: 180.2 kB / 0.7105 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.723e-05/0.1818, allocations: 184.2 kB / 0.7107 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1819, allocations: 315.7 kB / 0.711 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.182, allocations: 108.9 kB / 0.7111 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1821, allocations: 188.2 kB / 0.7113 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.1822, allocations: 108.9 kB / 0.7114 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1823, allocations: 184.6 kB / 0.7115 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.1824, allocations: 104.9 kB / 0.7116 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.612e-05/0.1825, allocations: 113.9 kB / 0.7117 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1825, allocations: 0 / 0.7117 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003384/0.1828, allocations: 35.92 kB / 0.7118 GB, free: 7.43 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.0006015/0.1834, allocations: 0.8282 MB / 0.7126 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1836, allocations: 71.77 kB / 0.7127 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1836, allocations: 7.938 kB / 0.7127 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1836, allocations: 5.25 kB / 0.7127 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.1841, allocations: 463.7 kB / 0.7131 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.1847, allocations: 274.2 kB / 0.7134 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.1848, allocations: 79.98 kB / 0.7134 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.1851, allocations: 60.58 kB / 0.7135 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.1851, allocations: 23.44 kB / 0.7135 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1851, allocations: 0 / 0.7135 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.2097, allocations: 3.311 MB / 0.7168 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.38, allocations: 4.062 kB / 0.7168 GB, free: 2.441 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.037040591007099] Failed to read output from testmodel.py, exit status != 0: 11.543497753911652 11.566838843 11.386243901 Calling exit ...