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.008259/0.008259, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00211/0.00211, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.02/1.02, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4143, allocations: 82.02 MB / 0.6752 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001468/0.4158, allocations: 0.6008 MB / 0.6758 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002796/0.4161, allocations: 75.97 kB / 0.6759 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.4161, allocations: 1.406 kB / 0.6759 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.4162, allocations: 0 / 0.6759 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.4162, allocations: 11.89 kB / 0.6759 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.4165, allocations: 40.7 kB / 0.6759 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.848e-05/0.4165, allocations: 33 kB / 0.676 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.4166, allocations: 5.406 kB / 0.676 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.4166, allocations: 16.11 kB / 0.676 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.4168, allocations: 62.34 kB / 0.676 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4168, allocations: 1.25 kB / 0.676 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.4169, allocations: 37.45 kB / 0.6761 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.4169, allocations: 17.22 kB / 0.6761 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.417, allocations: 21.95 kB / 0.6761 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.4171, allocations: 69.58 kB / 0.6762 GB, free: 420 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4171, allocations: 0 / 0.6762 GB, free: 420 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4171, allocations: 0 / 0.6762 GB, free: 420 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4171, allocations: 1.469 kB / 0.6762 GB, free: 420 kB / 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.0002411/0.4174, allocations: 363.9 kB / 0.6765 GB, free: 28 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4174, allocations: 9.781 kB / 0.6765 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.4175, allocations: 43.11 kB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.4175, allocations: 8.609 kB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.4176, allocations: 173.7 kB / 0.6767 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.4176, allocations: 1.594 kB / 0.6767 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.4176, allocations: 1.844 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.4179, allocations: 183.2 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4179, allocations: 3.938 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4179, allocations: 2.562 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.4179, allocations: 27.38 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.418, allocations: 40.31 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.4187, allocations: 0.9037 MB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.4188, allocations: 181.1 kB / 0.6781 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.4188, allocations: 81.55 kB / 0.6781 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.4189, allocations: 75.28 kB / 0.6782 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.4189, allocations: 107.9 kB / 0.6783 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4189, allocations: 0 / 0.6783 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.138e-05/0.419, allocations: 38.94 kB / 0.6783 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.4192, allocations: 393.8 kB / 0.6787 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4193, allocations: 165.9 kB / 0.6789 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4194, allocations: 27.02 kB / 0.6789 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.4194, allocations: 152.2 kB / 0.679 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.4195, allocations: 5.109 kB / 0.6791 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.4195, allocations: 53.58 kB / 0.6791 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4196, allocations: 321.2 kB / 0.6794 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.4197, allocations: 31.41 kB / 0.6794 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.4199, allocations: 221.3 kB / 0.6796 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.42, allocations: 196.8 kB / 0.6798 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4201, allocations: 5.969 kB / 0.6798 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002947/0.4204, allocations: 193 kB / 0.68 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4204, allocations: 8.656 kB / 0.68 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4204, allocations: 7.844 kB / 0.68 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4204, allocations: 11.44 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4206, allocations: 37.52 kB / 0.6801 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4206, allocations: 6.594 kB / 0.6801 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.4207, allocations: 26.78 kB / 0.6801 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4207, allocations: 9.594 kB / 0.6801 GB, free: 12.42 MB / 0.5137 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.0001313/0.4208, allocations: 219.5 kB / 0.6803 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.4209, allocations: 119.5 kB / 0.6805 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.421, allocations: 119.2 kB / 0.6806 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/0.421, allocations: 177.4 kB / 0.6807 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.876e-05/0.4211, allocations: 181 kB / 0.6809 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.016e-05/0.4211, allocations: 189.6 kB / 0.6811 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.4214, allocations: 423.8 kB / 0.6815 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.4214, allocations: 102.2 kB / 0.6816 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.4215, allocations: 105 kB / 0.6817 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.46e-05/0.4216, allocations: 185.5 kB / 0.6819 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.914e-05/0.4217, allocations: 181.5 kB / 0.682 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.6e-05/0.4218, allocations: 189.6 kB / 0.6822 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.928e-05/0.4218, allocations: 176.3 kB / 0.6824 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.422, allocations: 312.1 kB / 0.6827 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4221, allocations: 188.7 kB / 0.6829 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.4222, allocations: 191 kB / 0.683 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.4223, allocations: 107.2 kB / 0.6832 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.4224, allocations: 185.2 kB / 0.6833 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.4224, allocations: 106.1 kB / 0.6834 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.935e-05/0.4226, allocations: 114.8 kB / 0.6835 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4226, allocations: 0 / 0.6835 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003261/0.4229, allocations: 26.88 kB / 0.6836 GB, free: 8.785 MB / 0.5137 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.0005516/0.4235, allocations: 0.8306 MB / 0.6844 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4236, allocations: 75.88 kB / 0.6844 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4237, allocations: 1.188 kB / 0.6844 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.4237, allocations: 1.125 kB / 0.6845 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4241, allocations: 463.2 kB / 0.6849 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.4246, allocations: 281.8 kB / 0.6852 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.425, allocations: 0.6986 MB / 0.6858 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.4253, allocations: 52.69 kB / 0.6859 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.4253, allocations: 34.08 kB / 0.6859 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of SimCode: time 7.02e-07/0.4253, allocations: 0 / 0.6859 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4475, allocations: 2.965 MB / 0.6888 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.177, allocations: 7.266 kB / 0.6888 GB, free: 4.965 MB / 0.5137 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)