Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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/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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.004626/0.004626, allocations: 103 kB / 15.73 MB, free: 6.035 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.00109/0.00109, allocations: 201.2 kB / 16.68 MB, free: 5.957 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 0.9757/0.9757, allocations: 143 MB / 433.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4258, allocations: 82.02 MB / 0.6752 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002406/0.4282, allocations: 1.275 MB / 0.6764 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.4294, allocations: 0.6062 MB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.4294, allocations: 7.938 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.4295, allocations: 5.062 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.4295, allocations: 0 / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.4302, allocations: 151.8 kB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.4303, allocations: 21.36 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.4304, allocations: 6.047 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.4304, allocations: 4.344 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.4305, allocations: 7 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4305, allocations: 5.031 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.4311, allocations: 345.4 kB / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.4311, allocations: 5.156 kB / 0.6775 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.4311, allocations: 11.33 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.4315, allocations: 147.3 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4315, allocations: 0 / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4315, allocations: 1.219 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4315, allocations: 0 / 0.6777 GB, free: 15.18 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.0004448/0.4319, allocations: 354.9 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.432, allocations: 18.09 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.432, allocations: 34.75 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.4321, allocations: 7.469 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4322, allocations: 165.7 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4322, allocations: 4.375 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4322, allocations: 2.781 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4324, allocations: 40.38 kB / 0.6783 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4324, allocations: 3.938 kB / 0.6783 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4324, allocations: 5.547 kB / 0.6783 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4324, allocations: 3.938 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.4325, allocations: 18.86 kB / 0.6783 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.4327, allocations: 157.8 kB / 0.6785 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4329, allocations: 40.94 kB / 0.6785 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.4329, allocations: 15.64 kB / 0.6785 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.4329, allocations: 0.9062 kB / 0.6785 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.433, allocations: 35.66 kB / 0.6786 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.433, allocations: 4 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006462/0.4336, allocations: 307.2 kB / 0.6788 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.4337, allocations: 56.5 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.4337, allocations: 98.2 kB / 0.679 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4338, allocations: 25.7 kB / 0.679 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.4338, allocations: 81.23 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.4338, allocations: 25.8 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.4339, allocations: 23.22 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.434, allocations: 320 kB / 0.6795 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.434, allocations: 6.375 kB / 0.6795 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.434, allocations: 11.34 kB / 0.6795 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.4341, allocations: 40.27 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4341, allocations: 0 / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001026/0.4342, allocations: 68.09 kB / 0.6796 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4343, allocations: 13.58 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4343, allocations: 0 / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4343, allocations: 5.031 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.4344, allocations: 13.69 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4344, allocations: 1.156 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.4344, allocations: 0 / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4344, allocations: 6.031 kB / 0.6796 GB, free: 13.14 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 7.413e-05/0.4345, allocations: 107.2 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.4345, allocations: 6.125 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.4347, allocations: 74.7 kB / 0.6798 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4347, allocations: 1.188 kB / 0.6798 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4347, allocations: 4 kB / 0.6798 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4347, allocations: 1.031 kB / 0.6798 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.435, allocations: 312.8 kB / 0.6801 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.435, allocations: 7.984 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.4351, allocations: 13.12 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4351, allocations: 1.609 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4351, allocations: 1.469 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4351, allocations: 1.344 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4352, allocations: 4.031 kB / 0.6801 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.4353, allocations: 182.1 kB / 0.6803 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4354, allocations: 80.27 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4354, allocations: 5.125 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.4355, allocations: 13 kB / 0.6804 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.4355, allocations: 6.094 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4355, allocations: 2.25 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.4356, allocations: 81.38 kB / 0.6805 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4356, allocations: 1.094 kB / 0.6805 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002653/0.4359, allocations: 22.81 kB / 0.6805 GB, free: 12.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0005152/0.4364, allocations: 0.7355 MB / 0.6812 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.4365, allocations: 36.89 kB / 0.6812 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4366, allocations: 0 / 0.6812 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.4366, allocations: 23.61 kB / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.4369, allocations: 6.469 kB / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.4384, allocations: 1.324 MB / 0.6826 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4387, allocations: 0.6797 MB / 0.6832 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.4387, allocations: 3.484 kB / 0.6832 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.4388, allocations: 14.66 kB / 0.6833 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4388, allocations: 0 / 0.6833 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.4594, allocations: 1.641 MB / 0.6849 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.113, allocations: 13.62 kB / 0.6849 GB, free: 8.648 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)