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.004748/0.004748, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001287/0.001287, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.449/1.449, 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-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.084/1.084, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.002061, allocations: 63.91 kB / 0.5953 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4149, allocations: 82.03 MB / 0.6755 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001416/0.4163, allocations: 0.5964 MB / 0.676 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.4166, allocations: 77.09 kB / 0.6761 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.4166, allocations: 0 / 0.6761 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.4167, allocations: 5.031 kB / 0.6761 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.4167, allocations: 11.31 kB / 0.6761 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.417, allocations: 41.19 kB / 0.6762 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.4171, allocations: 28.78 kB / 0.6762 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.4171, allocations: 6.359 kB / 0.6762 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.4172, allocations: 11.19 kB / 0.6762 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.4174, allocations: 61.88 kB / 0.6763 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4174, allocations: 5.297 kB / 0.6763 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.4175, allocations: 37.22 kB / 0.6763 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.4175, allocations: 17.8 kB / 0.6763 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.4176, allocations: 22.38 kB / 0.6763 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.4177, allocations: 65.75 kB / 0.6764 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4177, allocations: 0 / 0.6764 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4177, allocations: 0 / 0.6764 GB, free: 260 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4177, allocations: 0 / 0.6764 GB, free: 260 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.0003162/0.418, allocations: 368.4 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4181, allocations: 9.031 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.4181, allocations: 43.11 kB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.4182, allocations: 8.516 kB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.4183, allocations: 175.1 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.4183, allocations: 384 / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.4183, allocations: 6.891 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4186, allocations: 173.9 kB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4186, allocations: 5.25 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4186, allocations: 10.58 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.4187, allocations: 26.55 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.4187, allocations: 40.7 kB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.4195, allocations: 0.9064 MB / 0.6781 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.957e-05/0.4196, allocations: 170.3 kB / 0.6783 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.4196, allocations: 80.14 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4197, allocations: 76.44 kB / 0.6784 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.4197, allocations: 112.2 kB / 0.6785 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4197, allocations: 0 / 0.6785 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.301e-05/0.4198, allocations: 51.23 kB / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/0.4201, allocations: 385.9 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4202, allocations: 160.7 kB / 0.6791 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4202, allocations: 27.89 kB / 0.6791 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4204, allocations: 160.7 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.4204, allocations: 1.031 kB / 0.6793 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.4205, allocations: 56.73 kB / 0.6793 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4206, allocations: 325.9 kB / 0.6797 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.4206, allocations: 27.42 kB / 0.6797 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.4209, allocations: 217.3 kB / 0.6799 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.4211, allocations: 201.5 kB / 0.6801 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4211, allocations: 5.219 kB / 0.6801 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003014/0.4214, allocations: 187.9 kB / 0.6803 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4214, allocations: 11.05 kB / 0.6803 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4215, allocations: 5.188 kB / 0.6803 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4215, allocations: 10 kB / 0.6803 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4216, allocations: 42.58 kB / 0.6803 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4216, allocations: 6.656 kB / 0.6803 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.4217, allocations: 26.03 kB / 0.6804 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.4217, allocations: 14.38 kB / 0.6804 GB, free: 12.25 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.0001371/0.4219, allocations: 211.1 kB / 0.6806 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.422, allocations: 115.5 kB / 0.6807 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.404e-05/0.422, allocations: 123.6 kB / 0.6808 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/0.4221, allocations: 180.3 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.265e-05/0.4222, allocations: 181.3 kB / 0.6811 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.983e-05/0.4223, allocations: 177.2 kB / 0.6813 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.4225, allocations: 428.2 kB / 0.6817 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/0.4226, allocations: 102 kB / 0.6818 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.4227, allocations: 117.5 kB / 0.6819 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.4227, allocations: 177.5 kB / 0.6821 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/0.4228, allocations: 185.9 kB / 0.6823 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000104/0.4229, allocations: 186 kB / 0.6825 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001006/0.423, allocations: 176.3 kB / 0.6826 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4232, allocations: 315.4 kB / 0.6829 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.4233, allocations: 188.8 kB / 0.6831 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.4234, allocations: 187.4 kB / 0.6833 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.4235, allocations: 103.1 kB / 0.6834 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.4236, allocations: 186.3 kB / 0.6836 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.4237, allocations: 105 kB / 0.6837 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.4238, allocations: 120.1 kB / 0.6838 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4238, allocations: 0 / 0.6838 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003881/0.4242, allocations: 26.41 kB / 0.6838 GB, free: 8.621 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.0005101/0.4247, allocations: 0.8315 MB / 0.6846 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.4248, allocations: 75.83 kB / 0.6847 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4249, allocations: 0 / 0.6847 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4249, allocations: 2.562 kB / 0.6847 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4253, allocations: 467.7 kB / 0.6851 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.4258, allocations: 281.8 kB / 0.6854 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4261, allocations: 0.6951 MB / 0.6861 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.4263, allocations: 59.5 kB / 0.6861 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.4264, allocations: 22.28 kB / 0.6862 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4264, allocations: 0 / 0.6862 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.4531, allocations: 2.975 MB / 0.6891 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.494, allocations: 5.469 kB / 0.6891 GB, free: 4.797 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)