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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004824/0.004824, allocations: 97.11 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 187 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8093/0.8093, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 70.53 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00168/0.1562, allocations: 0.6019 MB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000338/0.1565, allocations: 67.84 kB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.1565, allocations: 3.938 kB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.1566, allocations: 4 kB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.1566, allocations: 11.92 kB / 0.6599 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1569, allocations: 39.89 kB / 0.6599 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.157, allocations: 31.91 kB / 0.66 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1571, allocations: 4 kB / 0.66 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.1571, allocations: 8 kB / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1573, allocations: 67.86 kB / 0.66 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1573, allocations: 4 kB / 0.6601 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1574, allocations: 43.89 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.1575, allocations: 8 kB / 0.6601 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.1575, allocations: 27.8 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1577, allocations: 68.06 kB / 0.6602 GB, free: 13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1577, allocations: 0 / 0.6602 GB, free: 13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1577, allocations: 0 / 0.6602 GB, free: 13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.1577, allocations: 4 kB / 0.6602 GB, free: 13 MB / 0.4981 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.0004526/0.1581, allocations: 367.3 kB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1582, allocations: 8.031 kB / 0.6606 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.1582, allocations: 38.73 kB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1583, allocations: 8.891 kB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1584, allocations: 176.2 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1584, allocations: 4.375 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1584, allocations: 4.375 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1587, allocations: 175.3 kB / 0.6609 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1587, allocations: 3.938 kB / 0.6609 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1588, allocations: 8 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.1588, allocations: 23.97 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.1589, allocations: 39.89 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.1596, allocations: 0.9062 MB / 0.6619 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1597, allocations: 173.5 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.1598, allocations: 84.17 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1598, allocations: 79.22 kB / 0.6622 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.1599, allocations: 113.8 kB / 0.6623 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1599, allocations: 0 / 0.6623 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.584e-05/0.16, allocations: 32.05 kB / 0.6624 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.1602, allocations: 395.7 kB / 0.6627 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1604, allocations: 169.8 kB / 0.6629 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1604, allocations: 25.7 kB / 0.6629 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1605, allocations: 151.5 kB / 0.6631 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.1605, allocations: 0 / 0.6631 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.1606, allocations: 57.66 kB / 0.6631 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1608, allocations: 326.8 kB / 0.6634 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.1608, allocations: 31.91 kB / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.1611, allocations: 218.5 kB / 0.6637 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1613, allocations: 201.7 kB / 0.6639 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1613, allocations: 0 / 0.6639 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003142/0.1616, allocations: 193.4 kB / 0.6641 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1617, allocations: 8 kB / 0.6641 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1617, allocations: 4 kB / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1617, allocations: 11.94 kB / 0.6641 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1618, allocations: 35.92 kB / 0.6641 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.1618, allocations: 11.94 kB / 0.6641 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.162, allocations: 27.78 kB / 0.6641 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.162, allocations: 12.38 kB / 0.6642 GB, free: 8.449 MB / 0.4981 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.0001526/0.1621, allocations: 221 kB / 0.6644 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.1622, allocations: 108.9 kB / 0.6645 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.1623, allocations: 124.7 kB / 0.6646 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-05/0.1624, allocations: 176.3 kB / 0.6648 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.628e-05/0.1625, allocations: 180.3 kB / 0.6649 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/0.1625, allocations: 184.2 kB / 0.6651 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.1628, allocations: 425.2 kB / 0.6655 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.914e-05/0.1629, allocations: 104.9 kB / 0.6656 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.1629, allocations: 101 kB / 0.6657 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.163, allocations: 176.3 kB / 0.6659 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/0.1631, allocations: 196.1 kB / 0.6661 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-05/0.1632, allocations: 180.3 kB / 0.6662 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.93e-05/0.1633, allocations: 180.2 kB / 0.6664 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1634, allocations: 303.8 kB / 0.6667 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.1635, allocations: 202 kB / 0.6669 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.1636, allocations: 184.2 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.1637, allocations: 108.9 kB / 0.6672 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.1638, allocations: 176.6 kB / 0.6673 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.1638, allocations: 109 kB / 0.6674 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.584e-05/0.1639, allocations: 117.6 kB / 0.6676 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 0 / 0.6676 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003144/0.1643, allocations: 32 kB / 0.6676 GB, free: 4.711 MB / 0.4981 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.0005098/0.1648, allocations: 0.8321 MB / 0.6684 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1649, allocations: 76.53 kB / 0.6685 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.165, allocations: 0 / 0.6685 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/0.165, allocations: 7.938 kB / 0.6685 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1654, allocations: 463.7 kB / 0.6689 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.1659, allocations: 274.9 kB / 0.6692 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1662, allocations: 0.7007 MB / 0.6699 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.1664, allocations: 60.36 kB / 0.6699 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.1665, allocations: 23.42 kB / 0.6699 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of SimCode: time 2.315e-06/0.1665, allocations: 0 / 0.6699 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.1896, allocations: 2.919 MB / 0.6728 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/7.982, allocations: 9.062 kB / 0.6728 GB, free: 15.41 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)