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.0009889/0.0009889, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.0009382/0.0009382, allocations: 192.2 kB / 16.25 MB, free: 6.586 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7144/0.7144, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.59 kB / 0.5014 GB, free: 8.977 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 80.21 MB / 0.5797 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001649/0.1369, allocations: 0.6582 MB / 0.5803 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.1372, allocations: 67.84 kB / 0.5804 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.1372, allocations: 4 kB / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.1373, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.1373, allocations: 11.92 kB / 0.5804 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1376, allocations: 35.95 kB / 0.5805 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.1377, allocations: 23.98 kB / 0.5805 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1377, allocations: 0 / 0.5805 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.1377, allocations: 27.91 kB / 0.5805 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1379, allocations: 71.92 kB / 0.5806 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1379, allocations: 3.938 kB / 0.5806 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.138, allocations: 31.97 kB / 0.5806 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1381, allocations: 23.92 kB / 0.5806 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1381, allocations: 19.86 kB / 0.5806 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1382, allocations: 71.78 kB / 0.5807 GB, free: 7.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1382, allocations: 0 / 0.5807 GB, free: 7.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1382, allocations: 0 / 0.5807 GB, free: 7.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1382, allocations: 0 / 0.5807 GB, free: 7.934 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.0003021/0.1385, allocations: 367.7 kB / 0.5811 GB, free: 7.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1386, allocations: 11.97 kB / 0.5811 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.1386, allocations: 38.75 kB / 0.5811 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.1387, allocations: 12.84 kB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.1387, allocations: 176.2 kB / 0.5813 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1388, allocations: 384 / 0.5813 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1388, allocations: 4.375 kB / 0.5813 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.139, allocations: 180 kB / 0.5815 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.139, allocations: 4 kB / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.139, allocations: 0 / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.1391, allocations: 23.97 kB / 0.5815 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.1391, allocations: 39.91 kB / 0.5815 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.1397, allocations: 0.9023 MB / 0.5824 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.623e-05/0.1398, allocations: 177.1 kB / 0.5826 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.1398, allocations: 84.14 kB / 0.5827 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1399, allocations: 75.28 kB / 0.5827 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1399, allocations: 113.8 kB / 0.5828 GB, free: 5.535 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1399, allocations: 0 / 0.5828 GB, free: 5.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.605e-05/0.14, allocations: 37.61 kB / 0.5829 GB, free: 5.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1401, allocations: 383.7 kB / 0.5832 GB, free: 5.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1403, allocations: 176.3 kB / 0.5834 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1403, allocations: 29.7 kB / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.1404, allocations: 143.1 kB / 0.5836 GB, free: 4.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.1404, allocations: 8 kB / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.1404, allocations: 49.61 kB / 0.5836 GB, free: 4.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1405, allocations: 326.8 kB / 0.5839 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.1406, allocations: 27.97 kB / 0.584 GB, free: 4.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1407, allocations: 222.5 kB / 0.5842 GB, free: 3.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1409, allocations: 197.8 kB / 0.5844 GB, free: 3.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1409, allocations: 4 kB / 0.5844 GB, free: 3.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002621/0.1412, allocations: 189.6 kB / 0.5846 GB, free: 3.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1412, allocations: 6.188 kB / 0.5846 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1412, allocations: 4 kB / 0.5846 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1412, allocations: 11.94 kB / 0.5846 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1413, allocations: 43.92 kB / 0.5846 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1414, allocations: 11.92 kB / 0.5846 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.1415, allocations: 31.69 kB / 0.5847 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1415, allocations: 8 kB / 0.5847 GB, free: 3.387 MB / 494.1 MB 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.0001102/0.1416, allocations: 217.1 kB / 0.5849 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.1416, allocations: 116.9 kB / 0.585 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.1417, allocations: 120.7 kB / 0.5851 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/0.1418, allocations: 182.1 kB / 0.5853 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-05/0.1418, allocations: 188.2 kB / 0.5855 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-05/0.1419, allocations: 180.3 kB / 0.5856 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1421, allocations: 421.2 kB / 0.586 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/0.1422, allocations: 108.9 kB / 0.5861 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.1422, allocations: 105 kB / 0.5862 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/0.1422, allocations: 180.2 kB / 0.5864 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.1423, allocations: 188.1 kB / 0.5866 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-05/0.1424, allocations: 184.3 kB / 0.5868 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.337e-05/0.1424, allocations: 184.2 kB / 0.5869 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1425, allocations: 307.8 kB / 0.5872 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1426, allocations: 186 kB / 0.5874 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.1427, allocations: 184.2 kB / 0.5876 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.1428, allocations: 117.2 kB / 0.5877 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.1428, allocations: 176.3 kB / 0.5879 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1429, allocations: 112.9 kB / 0.588 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.1429, allocations: 117.7 kB / 0.5881 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1429, allocations: 0 / 0.5881 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002904/0.1432, allocations: 24 kB / 0.5881 GB, free: 15.64 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.0003926/0.1436, allocations: 0.836 MB / 0.5889 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1438, allocations: 76.97 kB / 0.589 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1438, allocations: 4.062 kB / 0.589 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1438, allocations: 0 / 0.589 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1441, allocations: 467.7 kB / 0.5894 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.1445, allocations: 294.4 kB / 0.5897 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1448, allocations: 0.689 MB / 0.5904 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.145, allocations: 52.59 kB / 0.5905 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.145, allocations: 23.42 kB / 0.5905 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.145, allocations: 0 / 0.5905 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/0.2892, allocations: 2.942 MB / 0.5933 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.2895, allocations: 193.3 kB / 0.5935 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.103, allocations: 0 / 0.5935 GB, free: 10.09 MB / 0.4981 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)