Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_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.005927/0.005927, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.00118/0.00118, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 287.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 100.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1693, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001779/0.1711, allocations: 0.6055 MB / 0.7665 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.1715, allocations: 67.84 kB / 0.7666 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.1715, allocations: 4 kB / 0.7666 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1716, allocations: 0 / 0.7666 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.1717, allocations: 7.938 kB / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.172, allocations: 47.94 kB / 0.7667 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.172, allocations: 27.86 kB / 0.7667 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.1721, allocations: 3.984 kB / 0.7667 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.1721, allocations: 11.98 kB / 0.7667 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1723, allocations: 67.88 kB / 0.7668 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1723, allocations: 7.938 kB / 0.7668 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.1724, allocations: 35.97 kB / 0.7668 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.1725, allocations: 15.98 kB / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.1725, allocations: 23.8 kB / 0.7668 GB, free: 8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1727, allocations: 63.86 kB / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1727, allocations: 0 / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.635e-06/0.1727, allocations: 0 / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1727, allocations: 3.938 kB / 0.7669 GB, free: 7.934 MB / 0.5606 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.0003379/0.173, allocations: 363.6 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1731, allocations: 8.031 kB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.1731, allocations: 50.72 kB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1732, allocations: 8.844 kB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.1733, allocations: 168.3 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1733, allocations: 384 / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1733, allocations: 4.375 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1735, allocations: 185.8 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1735, allocations: 4 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1736, allocations: 0 / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.1736, allocations: 27.92 kB / 0.7677 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.1737, allocations: 35.91 kB / 0.7677 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.1743, allocations: 0.9062 MB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.1744, allocations: 169.1 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.1744, allocations: 80.14 kB / 0.7688 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1745, allocations: 83.28 kB / 0.7689 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.1745, allocations: 109.8 kB / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1745, allocations: 0 / 0.769 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.1746, allocations: 41.55 kB / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.1748, allocations: 391.7 kB / 0.7694 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1749, allocations: 161.7 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1749, allocations: 25.7 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.175, allocations: 155.1 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-06/0.175, allocations: 4 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.1751, allocations: 49.61 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.1752, allocations: 326.8 kB / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.1752, allocations: 23.98 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1754, allocations: 229 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1756, allocations: 197.7 kB / 0.7706 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1756, allocations: 4 kB / 0.7706 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002978/0.1759, allocations: 193.7 kB / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1759, allocations: 4.062 kB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1759, allocations: 12.09 kB / 0.7708 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.176, allocations: 15.86 kB / 0.7708 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1761, allocations: 43.86 kB / 0.7708 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1761, allocations: 4 kB / 0.7708 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.345e-05/0.1762, allocations: 27.75 kB / 0.7709 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1762, allocations: 8 kB / 0.7709 GB, free: 3.387 MB / 0.5606 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.0001172/0.1763, allocations: 217.6 kB / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.1764, allocations: 120.8 kB / 0.7712 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1765, allocations: 116.8 kB / 0.7713 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-05/0.1765, allocations: 184.2 kB / 0.7715 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.643e-05/0.1766, allocations: 176.3 kB / 0.7716 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-05/0.1767, allocations: 176.3 kB / 0.7718 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.1769, allocations: 425.1 kB / 0.7722 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/0.1769, allocations: 109 kB / 0.7723 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.177, allocations: 108.9 kB / 0.7724 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-05/0.177, allocations: 176.8 kB / 0.7726 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.1771, allocations: 180.2 kB / 0.7728 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.772e-05/0.1771, allocations: 180.2 kB / 0.7729 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.736e-05/0.1772, allocations: 192.2 kB / 0.7731 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1773, allocations: 308 kB / 0.7734 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.1774, allocations: 189.9 kB / 0.7736 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.1775, allocations: 192.2 kB / 0.7738 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1776, allocations: 105 kB / 0.7739 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3415/0.5191, allocations: 182.6 kB / 0.774 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.5192, allocations: 104.7 kB / 0.7741 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.5193, allocations: 113.8 kB / 0.7743 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5193, allocations: 0 / 0.7743 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004017/0.5197, allocations: 26.19 kB / 0.7743 GB, free: 15.35 MB / 0.5606 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.0003146/0.52, allocations: 0.822 MB / 0.7751 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.5202, allocations: 81.64 kB / 0.7752 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5202, allocations: 0.5 kB / 0.7752 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.5202, allocations: 1.188 kB / 0.7752 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5205, allocations: 471.2 kB / 0.7756 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.521, allocations: 273.8 kB / 0.7759 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.5211, allocations: 0.6978 MB / 0.7766 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.5213, allocations: 53.73 kB / 0.7766 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.5213, allocations: 28.41 kB / 0.7766 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5213, allocations: 0 / 0.7766 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.5407, allocations: 2.969 MB / 0.7795 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.745, allocations: 14.14 kB / 0.7795 GB, free: 12.78 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)