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.0007633/0.0007633, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005014/0.005014, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.2 MB / 434.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 83.4 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001207/0.1489, allocations: 0.9939 MB / 0.5989 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.1498, allocations: 0.619 MB / 0.5995 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.395e-05/0.1499, allocations: 4 kB / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.1499, allocations: 3.938 kB / 0.5995 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.1499, allocations: 0 / 0.5995 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.1503, allocations: 122.2 kB / 0.5997 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.1504, allocations: 19.92 kB / 0.5997 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.1504, allocations: 4 kB / 0.5997 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.1505, allocations: 8 kB / 0.5997 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.1505, allocations: 11.92 kB / 0.5997 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1505, allocations: 0 / 0.5997 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.151, allocations: 347.3 kB / 0.6 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.151, allocations: 4 kB / 0.6 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.151, allocations: 37.62 kB / 0.6001 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1512, allocations: 147.9 kB / 0.6002 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1513, allocations: 0 / 0.6002 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1513, allocations: 0 / 0.6002 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1513, allocations: 3.938 kB / 0.6002 GB, free: 5.262 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.0003488/0.1516, allocations: 355.4 kB / 0.6006 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1517, allocations: 8.031 kB / 0.6006 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.1517, allocations: 42.75 kB / 0.6006 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.1517, allocations: 0.9375 kB / 0.6006 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.1518, allocations: 164.3 kB / 0.6008 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1518, allocations: 4.375 kB / 0.6008 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1519, allocations: 384 / 0.6008 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.152, allocations: 42.25 kB / 0.6008 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.152, allocations: 7.922 kB / 0.6008 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.152, allocations: 0 / 0.6008 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.152, allocations: 0 / 0.6008 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.152, allocations: 15.98 kB / 0.6008 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1522, allocations: 157.7 kB / 0.601 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1524, allocations: 50.48 kB / 0.601 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.1524, allocations: 12.86 kB / 0.601 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1524, allocations: 8.078 kB / 0.6011 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1524, allocations: 34.56 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1524, allocations: 4 kB / 0.6011 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005353/0.153, allocations: 314.1 kB / 0.6014 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.153, allocations: 51.41 kB / 0.6014 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.1531, allocations: 101.8 kB / 0.6015 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1531, allocations: 25.7 kB / 0.6016 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.1531, allocations: 84.14 kB / 0.6016 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1532, allocations: 15.75 kB / 0.6017 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.1532, allocations: 17.72 kB / 0.6017 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.1533, allocations: 318.8 kB / 0.602 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.1533, allocations: 15.94 kB / 0.602 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.1533, allocations: 8 kB / 0.602 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/0.1534, allocations: 32.84 kB / 0.602 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1534, allocations: 0 / 0.602 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.914e-05/0.1535, allocations: 73.53 kB / 0.6021 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.1535, allocations: 4 kB / 0.6021 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1535, allocations: 240 / 0.6021 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1536, allocations: 0 / 0.6021 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.1536, allocations: 19.94 kB / 0.6021 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1536, allocations: 3.984 kB / 0.6021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.1536, allocations: 0 / 0.6021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1536, allocations: 4 kB / 0.6021 GB, free: 3.023 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 5.673e-05/0.1537, allocations: 109.8 kB / 0.6022 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.1537, allocations: 11.92 kB / 0.6022 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.1539, allocations: 65.66 kB / 0.6023 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1539, allocations: 0 / 0.6023 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1539, allocations: 0 / 0.6023 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1539, allocations: 4 kB / 0.6023 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1542, allocations: 319.8 kB / 0.6026 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1542, allocations: 4 kB / 0.6026 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.1542, allocations: 8 kB / 0.6026 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1542, allocations: 0 / 0.6026 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1543, allocations: 8 kB / 0.6026 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1543, allocations: 7.875 kB / 0.6026 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1543, allocations: 0 / 0.6026 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1544, allocations: 184.3 kB / 0.6028 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.1545, allocations: 85.12 kB / 0.6029 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1545, allocations: 4.234 kB / 0.6029 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1546, allocations: 4 kB / 0.6029 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.1546, allocations: 7.938 kB / 0.6029 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.1546, allocations: 8 kB / 0.6029 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.1546, allocations: 79.34 kB / 0.603 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1546, allocations: 4 kB / 0.603 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002291/0.1549, allocations: 23.92 kB / 0.603 GB, free: 1.988 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.0004263/0.1553, allocations: 0.7289 MB / 0.6037 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.697e-05/0.1554, allocations: 39.98 kB / 0.6038 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1554, allocations: 0 / 0.6038 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.1555, allocations: 15.98 kB / 0.6038 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.1557, allocations: 12.23 kB / 0.6038 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2522/0.4079, allocations: 1.337 MB / 0.6051 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.408, allocations: 0.6812 MB / 0.6058 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.4081, allocations: 3.844 kB / 0.6058 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4081, allocations: 17.59 kB / 0.6058 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.4081, allocations: 0.5625 kB / 0.6058 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009833/0.4179, allocations: 1.407 MB / 0.6072 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.4181, allocations: 253.4 kB / 0.6074 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.965, allocations: 3.812 kB / 0.6074 GB, free: 39.12 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)