Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.11/1.11, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1497, allocations: 82.05 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001744/0.1515, allocations: 0.5857 MB / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.1518, allocations: 63.84 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.1518, allocations: 4 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.1519, allocations: 4 kB / 0.5951 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.1519, allocations: 11.92 kB / 0.5951 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1522, allocations: 39.95 kB / 0.5951 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.1523, allocations: 31.89 kB / 0.5951 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1524, allocations: 4 kB / 0.5951 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.1524, allocations: 11.94 kB / 0.5952 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1526, allocations: 63.92 kB / 0.5952 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1526, allocations: 0 / 0.5952 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.1527, allocations: 43.95 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.1528, allocations: 15.94 kB / 0.5953 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1528, allocations: 19.88 kB / 0.5953 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1529, allocations: 67.78 kB / 0.5954 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1529, allocations: 0 / 0.5954 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1529, allocations: 0 / 0.5954 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1529, allocations: 0 / 0.5954 GB, free: 8.523 MB / 0.4981 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.0003271/0.1533, allocations: 367.7 kB / 0.5957 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1533, allocations: 11.97 kB / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.1534, allocations: 42.75 kB / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1534, allocations: 12.84 kB / 0.5958 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.1535, allocations: 172.2 kB / 0.5959 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1535, allocations: 4.359 kB / 0.5959 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1536, allocations: 8.312 kB / 0.5959 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.1538, allocations: 178.2 kB / 0.5961 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1538, allocations: 4 kB / 0.5961 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1538, allocations: 3.984 kB / 0.5961 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.1539, allocations: 27.97 kB / 0.5962 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.154, allocations: 39.84 kB / 0.5962 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.1546, allocations: 0.8907 MB / 0.5971 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.1547, allocations: 173.1 kB / 0.5972 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.1547, allocations: 84.14 kB / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1548, allocations: 83.27 kB / 0.5974 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1548, allocations: 105.8 kB / 0.5975 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.1548, allocations: 0 / 0.5975 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.069e-05/0.1549, allocations: 41.55 kB / 0.5975 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.155, allocations: 387.7 kB / 0.5979 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1552, allocations: 169.6 kB / 0.5981 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1552, allocations: 25.7 kB / 0.5981 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.1553, allocations: 151.1 kB / 0.5982 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.1553, allocations: 4 kB / 0.5982 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.1554, allocations: 57.59 kB / 0.5983 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.1555, allocations: 318.8 kB / 0.5986 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.1555, allocations: 27.97 kB / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1557, allocations: 228.6 kB / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.1559, allocations: 189.8 kB / 0.599 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1559, allocations: 4 kB / 0.599 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002973/0.1562, allocations: 193.1 kB / 0.5992 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1562, allocations: 4.656 kB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1562, allocations: 12 kB / 0.5992 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1563, allocations: 11.94 kB / 0.5992 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1564, allocations: 39.92 kB / 0.5993 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1564, allocations: 7.938 kB / 0.5993 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.1565, allocations: 27.78 kB / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1565, allocations: 12 kB / 0.5993 GB, free: 3.977 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.0001129/0.1566, allocations: 213 kB / 0.5995 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.1567, allocations: 116.8 kB / 0.5996 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.1568, allocations: 120.8 kB / 0.5997 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/0.1568, allocations: 184.4 kB / 0.5999 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-05/0.1569, allocations: 188.1 kB / 0.6001 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.358e-05/0.1569, allocations: 176.3 kB / 0.6003 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1572, allocations: 425.1 kB / 0.6007 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.1572, allocations: 105.1 kB / 0.6008 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1573, allocations: 109 kB / 0.6009 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-05/0.1573, allocations: 180.2 kB / 0.601 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.1574, allocations: 184.2 kB / 0.6012 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-05/0.1575, allocations: 180.2 kB / 0.6014 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.886e-05/0.1575, allocations: 184.3 kB / 0.6016 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1577, allocations: 315.7 kB / 0.6019 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.1577, allocations: 182 kB / 0.602 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1579, allocations: 192.1 kB / 0.6022 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.1579, allocations: 105 kB / 0.6023 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.158, allocations: 188.2 kB / 0.6025 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.158, allocations: 109 kB / 0.6026 GB, free: 380 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.456e-05/0.1581, allocations: 115.2 kB / 0.6027 GB, free: 264 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1581, allocations: 0 / 0.6027 GB, free: 264 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003122/0.1584, allocations: 28 kB / 0.6027 GB, free: 236 kB / 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.2392/0.3977, allocations: 0.8232 MB / 0.6036 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3979, allocations: 76.33 kB / 0.6036 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3979, allocations: 1.812 kB / 0.6036 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.398, allocations: 0 / 0.6036 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3983, allocations: 469.8 kB / 0.6041 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.3989, allocations: 269.7 kB / 0.6043 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.399, allocations: 0.697 MB / 0.605 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.3993, allocations: 56.33 kB / 0.6051 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.3993, allocations: 23.77 kB / 0.6051 GB, free: 42.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.3993, allocations: 0 / 0.6051 GB, free: 42.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.4195, allocations: 2.938 MB / 0.608 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.877, allocations: 4 kB / 0.608 GB, free: 42.01 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)