Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_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.001913/0.001913, allocations: 111.1 kB / 16.41 MB, free: 6.441 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.002159/0.002159, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8334/0.8334, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 62.38 kB / 0.5736 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1473, allocations: 78.88 MB / 0.6506 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00171/0.149, allocations: 0.5868 MB / 0.6512 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003184/0.1493, allocations: 63.84 kB / 0.6512 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.1494, allocations: 4 kB / 0.6512 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.1494, allocations: 11.92 kB / 0.6513 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.1495, allocations: 4 kB / 0.6513 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1498, allocations: 43.88 kB / 0.6513 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.518e-05/0.1498, allocations: 23.92 kB / 0.6513 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.1499, allocations: 4 kB / 0.6513 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.1499, allocations: 11.97 kB / 0.6513 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1501, allocations: 59.95 kB / 0.6514 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1501, allocations: 3.938 kB / 0.6514 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1503, allocations: 51.95 kB / 0.6514 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.1503, allocations: 11.98 kB / 0.6515 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1503, allocations: 27.8 kB / 0.6515 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1505, allocations: 64.02 kB / 0.6515 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1505, allocations: 3.938 kB / 0.6515 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1505, allocations: 0 / 0.6515 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1505, allocations: 0 / 0.6515 GB, free: 2.551 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.0003884/0.1509, allocations: 363.3 kB / 0.6519 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1509, allocations: 12.03 kB / 0.6519 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.151, allocations: 46.66 kB / 0.652 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1511, allocations: 16.89 kB / 0.652 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1512, allocations: 164.3 kB / 0.6521 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1512, allocations: 4.312 kB / 0.6521 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.1512, allocations: 4.375 kB / 0.6521 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1514, allocations: 176.2 kB / 0.6523 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1515, allocations: 4 kB / 0.6523 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1515, allocations: 7.938 kB / 0.6523 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.1515, allocations: 23.97 kB / 0.6523 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.1516, allocations: 35.91 kB / 0.6524 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.1524, allocations: 0.914 MB / 0.6533 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.1525, allocations: 173.5 kB / 0.6534 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.1525, allocations: 84.17 kB / 0.6535 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1526, allocations: 75.28 kB / 0.6536 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/0.1527, allocations: 113.8 kB / 0.6537 GB, free: 148 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.1527, allocations: 4 kB / 0.6537 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.637e-05/0.1527, allocations: 29.7 kB / 0.6537 GB, free: 108 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002363/0.153, allocations: 387.7 kB / 0.6541 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1532, allocations: 176.2 kB / 0.6543 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1532, allocations: 25.7 kB / 0.6543 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.1533, allocations: 155.5 kB / 0.6544 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.1533, allocations: 4 kB / 0.6544 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.1534, allocations: 57.66 kB / 0.6545 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1535, allocations: 318.8 kB / 0.6548 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.1536, allocations: 27.97 kB / 0.6548 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1538, allocations: 227.3 kB / 0.655 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1541, allocations: 197.7 kB / 0.6552 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1541, allocations: 0 / 0.6552 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003334/0.1544, allocations: 193.1 kB / 0.6554 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1544, allocations: 8.656 kB / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1545, allocations: 4 kB / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1545, allocations: 11.94 kB / 0.6554 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1546, allocations: 39.92 kB / 0.6555 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1546, allocations: 7.984 kB / 0.6555 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.1547, allocations: 31.78 kB / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1548, allocations: 12.09 kB / 0.6555 GB, free: 13.99 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.0001654/0.155, allocations: 220.9 kB / 0.6557 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.1551, allocations: 112.9 kB / 0.6558 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1551, allocations: 120.8 kB / 0.656 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.521e-05/0.1552, allocations: 182.1 kB / 0.6561 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.681e-05/0.1553, allocations: 180.2 kB / 0.6563 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.821e-05/0.1554, allocations: 184.2 kB / 0.6565 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1557, allocations: 417.2 kB / 0.6569 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.1e-05/0.1558, allocations: 109 kB / 0.657 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.1558, allocations: 108.9 kB / 0.6571 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/0.1559, allocations: 176.3 kB / 0.6572 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/0.156, allocations: 184.1 kB / 0.6574 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.512e-05/0.1561, allocations: 184.3 kB / 0.6576 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-05/0.1562, allocations: 176.3 kB / 0.6578 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.1564, allocations: 315.7 kB / 0.6581 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.1565, allocations: 190 kB / 0.6583 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.81e-05/0.1566, allocations: 184.2 kB / 0.6584 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1567, allocations: 113.2 kB / 0.6585 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.1568, allocations: 180.3 kB / 0.6587 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.1568, allocations: 105 kB / 0.6588 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.111e-05/0.1569, allocations: 116.4 kB / 0.6589 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1569, allocations: 0 / 0.6589 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003321/0.1572, allocations: 28 kB / 0.6589 GB, free: 10.26 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.0005663/0.1578, allocations: 0.8359 MB / 0.6598 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.158, allocations: 71.78 kB / 0.6598 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.158, allocations: 1.312 kB / 0.6598 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-06/0.158, allocations: 4 kB / 0.6598 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1584, allocations: 473.3 kB / 0.6603 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.159, allocations: 270.4 kB / 0.6605 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1593, allocations: 0.6968 MB / 0.6612 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.1595, allocations: 52.59 kB / 0.6613 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.1596, allocations: 27.42 kB / 0.6613 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.1596, allocations: 0 / 0.6613 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1854, allocations: 2.937 MB / 0.6642 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.38, allocations: 3.547 kB / 0.6642 GB, free: 4.93 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)