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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 197 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9749/0.9749, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1484, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002332/0.1508, allocations: 1.267 MB / 0.5956 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1518, allocations: 0.6149 MB / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1519, allocations: 4 kB / 0.5962 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.1519, allocations: 3.984 kB / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.152, allocations: 3.938 kB / 0.5963 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1526, allocations: 139.4 kB / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.1526, allocations: 19.92 kB / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.1527, allocations: 8 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.1527, allocations: 8 kB / 0.5964 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.1528, allocations: 11.94 kB / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1528, allocations: 0 / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005193/0.1533, allocations: 347.3 kB / 0.5968 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.1533, allocations: 4 kB / 0.5968 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.1534, allocations: 11.88 kB / 0.5968 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1536, allocations: 147.9 kB / 0.5969 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1536, allocations: 0 / 0.5969 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1537, allocations: 0 / 0.5969 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1537, allocations: 0 / 0.5969 GB, free: 6.926 MB / 0.4981 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.0004326/0.1541, allocations: 367.3 kB / 0.5973 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1541, allocations: 12.03 kB / 0.5973 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.1542, allocations: 34.75 kB / 0.5973 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.1542, allocations: 0.9375 kB / 0.5973 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1543, allocations: 168.4 kB / 0.5975 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1543, allocations: 384 / 0.5975 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1544, allocations: 384 / 0.5975 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1545, allocations: 42.25 kB / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1545, allocations: 3.938 kB / 0.5975 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1545, allocations: 3.938 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1545, allocations: 7.984 kB / 0.5975 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.1546, allocations: 12 kB / 0.5975 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.1547, allocations: 153.7 kB / 0.5977 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1549, allocations: 46.55 kB / 0.5977 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.155, allocations: 20.94 kB / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.155, allocations: 0 / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.155, allocations: 42.5 kB / 0.5978 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.155, allocations: 0 / 0.5978 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005879/0.1556, allocations: 306.1 kB / 0.5981 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1557, allocations: 55.34 kB / 0.5981 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.1557, allocations: 101.8 kB / 0.5982 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1558, allocations: 29.7 kB / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1558, allocations: 80.14 kB / 0.5983 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1558, allocations: 19.8 kB / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.1559, allocations: 25.7 kB / 0.5984 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.156, allocations: 314.8 kB / 0.5987 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.156, allocations: 8 kB / 0.5987 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.156, allocations: 11.98 kB / 0.5987 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.1561, allocations: 37 kB / 0.5987 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1561, allocations: 0 / 0.5987 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.962e-05/0.1562, allocations: 73.47 kB / 0.5988 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1562, allocations: 8 kB / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1562, allocations: 0 / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1562, allocations: 0 / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.1563, allocations: 16.06 kB / 0.5988 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1563, allocations: 0 / 0.5988 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1563, allocations: 3.984 kB / 0.5988 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1563, allocations: 8 kB / 0.5988 GB, free: 4.672 MB / 0.4981 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 6.221e-05/0.1564, allocations: 105.8 kB / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.1564, allocations: 7.938 kB / 0.599 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1566, allocations: 77.59 kB / 0.599 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1566, allocations: 0 / 0.599 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1566, allocations: 0 / 0.599 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1566, allocations: 3.984 kB / 0.599 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.157, allocations: 315.3 kB / 0.5993 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.157, allocations: 4 kB / 0.5993 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.157, allocations: 8 kB / 0.5993 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1571, allocations: 0 / 0.5993 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1571, allocations: 4.516 kB / 0.5993 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1571, allocations: 7.969 kB / 0.5994 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1571, allocations: 3.984 kB / 0.5994 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1573, allocations: 184.1 kB / 0.5995 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1574, allocations: 85.12 kB / 0.5996 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1574, allocations: 4 kB / 0.5996 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.1575, allocations: 4 kB / 0.5996 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1575, allocations: 8.047 kB / 0.5996 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1575, allocations: 4.188 kB / 0.5996 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.1575, allocations: 79.27 kB / 0.5997 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1576, allocations: 4 kB / 0.5997 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002604/0.1578, allocations: 23.94 kB / 0.5997 GB, free: 3.641 MB / 0.4981 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.0005177/0.1583, allocations: 0.7405 MB / 0.6005 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1585, allocations: 31.98 kB / 0.6005 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1585, allocations: 0 / 0.6005 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.1585, allocations: 19.94 kB / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1587, allocations: 10.5 kB / 0.6005 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.16, allocations: 1.318 MB / 0.6018 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1602, allocations: 0.6768 MB / 0.6025 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.1603, allocations: 12.17 kB / 0.6025 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.1603, allocations: 11.44 kB / 0.6025 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1603, allocations: 0 / 0.6025 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/0.5948, allocations: 1.577 MB / 0.604 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.899, allocations: 9.781 kB / 0.604 GB, free: 43.68 MB / 0.4981 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)