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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.008196/0.008196, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.002088/0.002088, allocations: 186.2 kB / 16.67 MB, free: 5.914 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.034/1.034, allocations: 143.3 MB / 433.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 75.88 kB / 0.5954 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4028, allocations: 82.03 MB / 0.6755 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00152/0.4043, allocations: 0.5927 MB / 0.676 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003019/0.4046, allocations: 79.62 kB / 0.6761 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.4047, allocations: 1.125 kB / 0.6761 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.4047, allocations: 0 / 0.6761 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.4048, allocations: 7.391 kB / 0.6761 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.4051, allocations: 50.47 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.4051, allocations: 24.09 kB / 0.6762 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.4052, allocations: 2.125 kB / 0.6762 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.4052, allocations: 14.95 kB / 0.6762 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.4054, allocations: 58.33 kB / 0.6763 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4054, allocations: 1.156 kB / 0.6763 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.4055, allocations: 45.95 kB / 0.6763 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.4056, allocations: 20.39 kB / 0.6763 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.4056, allocations: 18.58 kB / 0.6763 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.4057, allocations: 65.59 kB / 0.6764 GB, free: 308 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4058, allocations: 0 / 0.6764 GB, free: 308 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4058, allocations: 5.25 kB / 0.6764 GB, free: 304 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.4058, allocations: 0 / 0.6764 GB, free: 304 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.0003246/0.4061, allocations: 367 kB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4061, allocations: 9.906 kB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.4062, allocations: 39.53 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.4062, allocations: 8.516 kB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.4064, allocations: 173.5 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4064, allocations: 9.547 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.4064, allocations: 6.641 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.4067, allocations: 170.6 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4067, allocations: 9.25 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.4067, allocations: 14.16 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.4068, allocations: 18.73 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.4068, allocations: 37.53 kB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.4076, allocations: 0.9094 MB / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.4077, allocations: 170.4 kB / 0.6783 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.4077, allocations: 80.14 kB / 0.6784 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.4077, allocations: 81.03 kB / 0.6784 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.4078, allocations: 107.2 kB / 0.6785 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4078, allocations: 0 / 0.6785 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.773e-05/0.4079, allocations: 43.53 kB / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.4081, allocations: 385 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4083, allocations: 164.4 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4083, allocations: 26.7 kB / 0.6791 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4084, allocations: 156.4 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.4084, allocations: 10.52 kB / 0.6793 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.4085, allocations: 51.48 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4087, allocations: 322 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.4087, allocations: 40.12 kB / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.409, allocations: 213.9 kB / 0.6799 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.4092, allocations: 200.7 kB / 0.6801 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4092, allocations: 2.312 kB / 0.6801 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00031/0.4095, allocations: 192.1 kB / 0.6803 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4095, allocations: 7.719 kB / 0.6803 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4095, allocations: 4.406 kB / 0.6803 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4096, allocations: 9.938 kB / 0.6803 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.4097, allocations: 38.2 kB / 0.6803 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4097, allocations: 10.47 kB / 0.6803 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.4098, allocations: 31.23 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4098, allocations: 17.56 kB / 0.6804 GB, free: 12.29 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.000141/0.41, allocations: 207.5 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.4101, allocations: 115 kB / 0.6807 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.4102, allocations: 123.3 kB / 0.6808 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.736e-05/0.4102, allocations: 177.4 kB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.021e-05/0.4103, allocations: 185.2 kB / 0.6812 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-05/0.4104, allocations: 181.4 kB / 0.6813 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.4107, allocations: 420.3 kB / 0.6817 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/0.4107, allocations: 106.4 kB / 0.6818 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.4108, allocations: 109 kB / 0.6819 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-05/0.4109, allocations: 177.4 kB / 0.6821 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.4109, allocations: 193.2 kB / 0.6823 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.966e-05/0.411, allocations: 177.3 kB / 0.6825 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.706e-05/0.4111, allocations: 185.3 kB / 0.6826 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.4113, allocations: 315.6 kB / 0.6829 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.4114, allocations: 188.4 kB / 0.6831 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.4115, allocations: 183.5 kB / 0.6833 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.4116, allocations: 107.4 kB / 0.6834 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.4117, allocations: 185.5 kB / 0.6836 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.4117, allocations: 106.1 kB / 0.6837 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.291e-05/0.4118, allocations: 116.1 kB / 0.6838 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4118, allocations: 0 / 0.6838 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003188/0.4122, allocations: 30.25 kB / 0.6838 GB, free: 8.664 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.0005146/0.4127, allocations: 0.8243 MB / 0.6846 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.4129, allocations: 75.06 kB / 0.6847 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4129, allocations: 0.9688 kB / 0.6847 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.4129, allocations: 8.812 kB / 0.6847 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4133, allocations: 464.2 kB / 0.6851 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.4138, allocations: 285.8 kB / 0.6854 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4141, allocations: 0.6991 MB / 0.6861 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.4143, allocations: 52.16 kB / 0.6861 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.4143, allocations: 25.64 kB / 0.6862 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4143, allocations: 0 / 0.6862 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.438, allocations: 2.967 MB / 0.6891 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.435, allocations: 7.781 kB / 0.6891 GB, free: 4.844 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)