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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9789/0.9789, allocations: 175.7 MB / 480.1 MB, free: 2.832 MB / 366.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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 70.23 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.151, allocations: 94.53 MB / 0.7601 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001497/0.1525, allocations: 0.6163 MB / 0.7607 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.1528, allocations: 71.84 kB / 0.7608 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1528, allocations: 0 / 0.7608 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.1528, allocations: 3.938 kB / 0.7608 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.1529, allocations: 7.984 kB / 0.7608 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1531, allocations: 39.89 kB / 0.7608 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.1532, allocations: 35.89 kB / 0.7609 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.1532, allocations: 4.406 kB / 0.7609 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1532, allocations: 8 kB / 0.7609 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1534, allocations: 67.86 kB / 0.7609 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1535, allocations: 4 kB / 0.7609 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.1535, allocations: 39.95 kB / 0.761 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.1536, allocations: 19.92 kB / 0.761 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.1536, allocations: 23.86 kB / 0.761 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.1537, allocations: 60.02 kB / 0.7611 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1537, allocations: 8 kB / 0.7611 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1537, allocations: 4 kB / 0.7611 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1537, allocations: 3.938 kB / 0.7611 GB, free: 15.81 MB / 0.5763 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.0003498/0.1541, allocations: 363.2 kB / 0.7614 GB, free: 15.4 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1541, allocations: 12.03 kB / 0.7615 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.1542, allocations: 38.75 kB / 0.7615 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1542, allocations: 8.891 kB / 0.7615 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.1543, allocations: 164.4 kB / 0.7617 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1543, allocations: 4.375 kB / 0.7617 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1543, allocations: 4.359 kB / 0.7617 GB, free: 15.13 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1546, allocations: 183.2 kB / 0.7618 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.1546, allocations: 0 / 0.7618 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1546, allocations: 4 kB / 0.7618 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.1546, allocations: 23.91 kB / 0.7619 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.1547, allocations: 39.91 kB / 0.7619 GB, free: 14.86 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.1554, allocations: 0.9101 MB / 0.7628 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.1554, allocations: 169.1 kB / 0.763 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.1555, allocations: 84.12 kB / 0.763 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1555, allocations: 75.28 kB / 0.7631 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.1556, allocations: 117.8 kB / 0.7632 GB, free: 13.42 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1556, allocations: 0 / 0.7632 GB, free: 13.42 MB / 0.5763 GB Notification: Performance of matching and sorting (n=0): time 7.317e-05/0.1556, allocations: 37.59 kB / 0.7633 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.1558, allocations: 391.7 kB / 0.7636 GB, free: 12.92 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.156, allocations: 168.3 kB / 0.7638 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.156, allocations: 25.7 kB / 0.7638 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.1561, allocations: 151.5 kB / 0.764 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.1561, allocations: 3.984 kB / 0.764 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1562, allocations: 57.66 kB / 0.764 GB, free: 12.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1563, allocations: 318.8 kB / 0.7643 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.1563, allocations: 31.97 kB / 0.7644 GB, free: 12.14 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1565, allocations: 218.5 kB / 0.7646 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.1567, allocations: 201.8 kB / 0.7648 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1567, allocations: 3.938 kB / 0.7648 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000284/0.157, allocations: 189.4 kB / 0.7649 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.157, allocations: 8 kB / 0.7649 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.157, allocations: 4 kB / 0.765 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1571, allocations: 11.94 kB / 0.765 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1572, allocations: 39.92 kB / 0.765 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1572, allocations: 8 kB / 0.765 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.1573, allocations: 24.22 kB / 0.765 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1573, allocations: 20 kB / 0.7651 GB, free: 11.27 MB / 0.5763 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.0001344/0.1574, allocations: 209 kB / 0.7653 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.1575, allocations: 119.1 kB / 0.7654 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.1576, allocations: 116.8 kB / 0.7655 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-05/0.1576, allocations: 184.2 kB / 0.7657 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-05/0.1577, allocations: 180.3 kB / 0.7658 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-05/0.1578, allocations: 184.2 kB / 0.766 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.158, allocations: 425.1 kB / 0.7664 GB, free: 9.773 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.1581, allocations: 101 kB / 0.7665 GB, free: 9.668 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.1581, allocations: 108.9 kB / 0.7666 GB, free: 9.555 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.507e-05/0.1582, allocations: 184.2 kB / 0.7668 GB, free: 9.367 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.1583, allocations: 188.2 kB / 0.767 GB, free: 9.176 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.545e-05/0.1583, allocations: 180.2 kB / 0.7671 GB, free: 8.992 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.115e-05/0.1584, allocations: 176.3 kB / 0.7673 GB, free: 8.812 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1586, allocations: 319.7 kB / 0.7676 GB, free: 8.477 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.1587, allocations: 197.9 kB / 0.7678 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.1588, allocations: 180.2 kB / 0.768 GB, free: 8.074 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1589, allocations: 105 kB / 0.7681 GB, free: 7.965 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.1589, allocations: 184.5 kB / 0.7682 GB, free: 7.777 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.159, allocations: 109 kB / 0.7683 GB, free: 7.664 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.1591, allocations: 113.1 kB / 0.7685 GB, free: 7.555 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1591, allocations: 0 / 0.7685 GB, free: 7.555 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002831/0.1593, allocations: 35.94 kB / 0.7685 GB, free: 7.52 MB / 0.5763 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.0004842/0.1598, allocations: 0.8321 MB / 0.7693 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.16, allocations: 76.34 kB / 0.7694 GB, free: 6.586 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.16, allocations: 0 / 0.7694 GB, free: 6.586 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.16, allocations: 0 / 0.7694 GB, free: 6.586 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1603, allocations: 465.4 kB / 0.7698 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.1608, allocations: 283.1 kB / 0.7701 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1611, allocations: 0.6929 MB / 0.7708 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.1613, allocations: 48.61 kB / 0.7708 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.1613, allocations: 31.36 kB / 0.7708 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of SimCode: time 4e-07/0.1613, allocations: 0 / 0.7708 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.1847, allocations: 2.913 MB / 0.7737 GB, free: 2.211 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/7.365, allocations: 10.39 kB / 0.7737 GB, free: 2.203 MB / 0.5763 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.73693643999286]