Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.007954/0.007954, allocations: 96.7 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.002115/0.002115, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.001/1.001, allocations: 143.3 MB / 433.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 63.91 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4339, allocations: 82.02 MB / 0.6754 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001972/0.4359, allocations: 1.271 MB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.437, allocations: 0.6219 MB / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.437, allocations: 0 / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.4371, allocations: 3.984 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.4371, allocations: 5.156 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.4376, allocations: 143.2 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.4377, allocations: 25.69 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.4378, allocations: 2.375 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.254e-05/0.4378, allocations: 3.844 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.4379, allocations: 11.41 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4379, allocations: 5.219 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005381/0.4384, allocations: 345.8 kB / 0.6778 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.4385, allocations: 5.078 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.4385, allocations: 11.47 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4388, allocations: 149.2 kB / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4388, allocations: 1.125 kB / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4388, allocations: 0 / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.4388, allocations: 0 / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004858/0.4393, allocations: 367.1 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4393, allocations: 13.75 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.4394, allocations: 31.91 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.4394, allocations: 3.031 kB / 0.6784 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.4396, allocations: 165.5 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4396, allocations: 1.438 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.4396, allocations: 2.531 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.4397, allocations: 43.81 kB / 0.6786 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4397, allocations: 5.094 kB / 0.6786 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4398, allocations: 0 / 0.6786 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4398, allocations: 1.125 kB / 0.6786 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.4398, allocations: 17.61 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.44, allocations: 159.5 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.4402, allocations: 43.77 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.4402, allocations: 19.73 kB / 0.6788 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4403, allocations: 9.172 kB / 0.6788 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4403, allocations: 35.66 kB / 0.6788 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4403, allocations: 0 / 0.6788 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000639/0.441, allocations: 315.6 kB / 0.6791 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.441, allocations: 52.66 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.4411, allocations: 101 kB / 0.6793 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4411, allocations: 26.92 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.4412, allocations: 85.39 kB / 0.6794 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.4412, allocations: 18.05 kB / 0.6794 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.4412, allocations: 23.12 kB / 0.6794 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4414, allocations: 320 kB / 0.6797 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.4414, allocations: 5.688 kB / 0.6797 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.4415, allocations: 14.7 kB / 0.6798 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.701e-05/0.4415, allocations: 40.75 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4415, allocations: 0 / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.4416, allocations: 69.2 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4417, allocations: 6.875 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4417, allocations: 0 / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4417, allocations: 4.969 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.4417, allocations: 9.844 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4418, allocations: 1.062 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.4418, allocations: 4 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4418, allocations: 2.594 kB / 0.6799 GB, free: 13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 8.567e-05/0.4419, allocations: 114.8 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.4419, allocations: 6.719 kB / 0.68 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.442, allocations: 70.03 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4421, allocations: 5.031 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4421, allocations: 0 / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4421, allocations: 1.094 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4424, allocations: 315.4 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4424, allocations: 1.094 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.4425, allocations: 10.59 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4425, allocations: 0 / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4425, allocations: 1.406 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4425, allocations: 1.375 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4425, allocations: 4.031 kB / 0.6804 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.4427, allocations: 194.8 kB / 0.6806 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.4428, allocations: 86.91 kB / 0.6807 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.4428, allocations: 6.031 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.4429, allocations: 0 / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.4429, allocations: 3.719 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.4429, allocations: 1.781 kB / 0.6807 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.443, allocations: 84.86 kB / 0.6808 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.443, allocations: 1.469 kB / 0.6808 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002443/0.4432, allocations: 22.53 kB / 0.6808 GB, free: 12.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0005928/0.4438, allocations: 0.743 MB / 0.6815 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.444, allocations: 29.72 kB / 0.6815 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.444, allocations: 3.938 kB / 0.6815 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.444, allocations: 19.27 kB / 0.6816 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.4442, allocations: 12.22 kB / 0.6816 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4455, allocations: 1.327 MB / 0.6829 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4459, allocations: 0.679 MB / 0.6835 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.4459, allocations: 7.25 kB / 0.6835 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.446, allocations: 15.59 kB / 0.6835 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.446, allocations: 4 kB / 0.6835 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.472, allocations: 1.644 MB / 0.6852 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.66, allocations: 9.812 kB / 0.6852 GB, free: 8.496 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)