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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001145, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9335/0.9335, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 64.56 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 80.92 MB / 0.5838 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001894/0.1506, allocations: 0.6548 MB / 0.5845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.151, allocations: 67.84 kB / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.151, allocations: 3.938 kB / 0.5845 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.151, allocations: 8 kB / 0.5845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.1511, allocations: 7.938 kB / 0.5845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1513, allocations: 31.95 kB / 0.5846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.1514, allocations: 35.89 kB / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1515, allocations: 3.938 kB / 0.5846 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.1515, allocations: 8 kB / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1517, allocations: 75.84 kB / 0.5847 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1517, allocations: 0 / 0.5847 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1519, allocations: 39.95 kB / 0.5847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.1519, allocations: 16 kB / 0.5847 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.1519, allocations: 23.8 kB / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1521, allocations: 59.86 kB / 0.5848 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1521, allocations: 4 kB / 0.5848 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1521, allocations: 0 / 0.5848 GB, free: 3.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1521, allocations: 3.938 kB / 0.5848 GB, free: 3.828 MB / 494.1 MB 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.000352/0.1525, allocations: 363.7 kB / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1525, allocations: 12.03 kB / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.1526, allocations: 38.73 kB / 0.5852 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.1526, allocations: 12.84 kB / 0.5852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.809e-05/0.1527, allocations: 172.3 kB / 0.5854 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1527, allocations: 8.359 kB / 0.5854 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.1527, allocations: 384 / 0.5854 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.153, allocations: 179.2 kB / 0.5856 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.153, allocations: 0 / 0.5856 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.153, allocations: 8 kB / 0.5856 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.1531, allocations: 19.98 kB / 0.5856 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.1531, allocations: 43.84 kB / 0.5857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.1538, allocations: 0.8946 MB / 0.5865 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.1539, allocations: 177.1 kB / 0.5867 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.1539, allocations: 80.14 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1539, allocations: 75.28 kB / 0.5868 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.154, allocations: 117.8 kB / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.154, allocations: 0 / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.422e-05/0.1541, allocations: 33.61 kB / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.1543, allocations: 395.7 kB / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1544, allocations: 167.3 kB / 0.5875 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1544, allocations: 25.7 kB / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.1545, allocations: 155.1 kB / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.1546, allocations: 4 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.1546, allocations: 57.61 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1547, allocations: 326.7 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.1548, allocations: 23.98 kB / 0.5881 GB, free: 164 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.155, allocations: 220 kB / 0.5883 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1552, allocations: 197.8 kB / 0.5885 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1552, allocations: 0 / 0.5885 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002937/0.1555, allocations: 193.1 kB / 0.5887 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1555, allocations: 8 kB / 0.5887 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1555, allocations: 4.656 kB / 0.5887 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1556, allocations: 7.938 kB / 0.5887 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1557, allocations: 47.86 kB / 0.5887 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.1557, allocations: 15.92 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.1558, allocations: 27.69 kB / 0.5888 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1558, allocations: 12 kB / 0.5888 GB, free: 15.28 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.0001161/0.1559, allocations: 213 kB / 0.589 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1561, allocations: 109 kB / 0.5891 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.1561, allocations: 120.7 kB / 0.5892 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/0.1562, allocations: 185.9 kB / 0.5894 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/0.1563, allocations: 192.2 kB / 0.5896 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.1564, allocations: 176.3 kB / 0.5897 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.1567, allocations: 413.2 kB / 0.5901 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/0.1568, allocations: 112.9 kB / 0.5902 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.1568, allocations: 105 kB / 0.5903 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.686e-05/0.1569, allocations: 180.2 kB / 0.5905 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.157, allocations: 180.2 kB / 0.5907 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.058e-05/0.1571, allocations: 184.3 kB / 0.5909 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-05/0.1572, allocations: 180.2 kB / 0.591 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1573, allocations: 315.7 kB / 0.5913 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.1574, allocations: 190 kB / 0.5915 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.1575, allocations: 184.4 kB / 0.5917 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.1576, allocations: 109 kB / 0.5918 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.1576, allocations: 176.3 kB / 0.592 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.1577, allocations: 120.9 kB / 0.5921 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.1578, allocations: 112.2 kB / 0.5922 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1578, allocations: 0 / 0.5922 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003638/0.1581, allocations: 32 kB / 0.5922 GB, free: 11.54 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.0004548/0.1586, allocations: 0.8282 MB / 0.593 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1588, allocations: 75.72 kB / 0.5931 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1588, allocations: 0 / 0.5931 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.1588, allocations: 1.312 kB / 0.5931 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1593, allocations: 0.5381 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.1598, allocations: 288.2 kB / 0.5939 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1601, allocations: 0.6971 MB / 0.5946 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000271/0.1604, allocations: 60.58 kB / 0.5946 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1604, allocations: 19.44 kB / 0.5947 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1604, allocations: 4 kB / 0.5947 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.1733, allocations: 2.866 MB / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.1736, allocations: 191.2 kB / 0.5976 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.88, allocations: 0 / 0.5976 GB, free: 5.969 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)