Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 218.3 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8968/0.8968, allocations: 145 MB / 457.4 MB, free: 15.68 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 70.47 kB / 0.6332 GB, free: 7.438 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1628, allocations: 87.89 MB / 0.719 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002455/0.1653, allocations: 1.302 MB / 0.7203 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1664, allocations: 0.6227 MB / 0.7209 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1664, allocations: 0 / 0.7209 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.1664, allocations: 3.938 kB / 0.7209 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.1664, allocations: 4 kB / 0.7209 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.167, allocations: 151.4 kB / 0.721 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.633e-05/0.167, allocations: 27.86 kB / 0.7211 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1671, allocations: 8 kB / 0.7211 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1671, allocations: 11.94 kB / 0.7211 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.1672, allocations: 19.91 kB / 0.7211 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1672, allocations: 0 / 0.7211 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.1677, allocations: 347.3 kB / 0.7214 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.1677, allocations: 11.97 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1678, allocations: 11.94 kB / 0.7215 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.168, allocations: 147.6 kB / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.168, allocations: 0 / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.168, allocations: 0 / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.168, allocations: 3.938 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004057/0.1684, allocations: 294 kB / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1685, allocations: 12.03 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1685, allocations: 34.75 kB / 0.7219 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.1685, allocations: 8.891 kB / 0.7219 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1686, allocations: 106.5 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1686, allocations: 4.375 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1687, allocations: 12.31 kB / 0.722 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1688, allocations: 46.23 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1688, allocations: 7.938 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1688, allocations: 8 kB / 0.7221 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1688, allocations: 0 / 0.7221 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.1689, allocations: 27.92 kB / 0.7221 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.169, allocations: 128.8 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1691, allocations: 54.56 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1692, allocations: 28.84 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1692, allocations: 4 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1692, allocations: 34.56 kB / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1692, allocations: 0 / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001093/0.1703, allocations: 459.6 kB / 0.7228 GB, free: 11.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1704, allocations: 63.41 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.1704, allocations: 89.86 kB / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1704, allocations: 33.69 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.1705, allocations: 84.14 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.1705, allocations: 35.66 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1706, allocations: 29.7 kB / 0.7231 GB, free: 11.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1707, allocations: 314.8 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.1708, allocations: 28.11 kB / 0.7235 GB, free: 10.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.1708, allocations: 23.98 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.1709, allocations: 54.95 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1709, allocations: 3.938 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.171, allocations: 101.5 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1711, allocations: 9.875 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1711, allocations: 0 / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1711, allocations: 0 / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1712, allocations: 16 kB / 0.7237 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1712, allocations: 7.984 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.1712, allocations: 4 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1712, allocations: 4 kB / 0.7237 GB, free: 10.51 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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.0001047/0.1713, allocations: 113.8 kB / 0.7238 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1713, allocations: 11.89 kB / 0.7238 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.1715, allocations: 105.5 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1715, allocations: 4 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1716, allocations: 3.984 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1716, allocations: 0 / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.172, allocations: 333.5 kB / 0.7242 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.172, allocations: 0 / 0.7242 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1721, allocations: 20 kB / 0.7242 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1721, allocations: 0 / 0.7242 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1721, allocations: 4 kB / 0.7242 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1721, allocations: 0 / 0.7242 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1721, allocations: 0 / 0.7242 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1723, allocations: 219.3 kB / 0.7245 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.1723, allocations: 12.05 kB / 0.7245 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1724, allocations: 4 kB / 0.7245 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.1725, allocations: 8 kB / 0.7245 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.1725, allocations: 3.984 kB / 0.7245 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1725, allocations: 7.938 kB / 0.7245 GB, free: 9.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.1725, allocations: 83.27 kB / 0.7246 GB, free: 9.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 3.938 kB / 0.7246 GB, free: 9.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002618/0.1728, allocations: 35.88 kB / 0.7246 GB, free: 9.473 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0006278/0.1734, allocations: 0.7857 MB / 0.7254 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1736, allocations: 62.41 kB / 0.7254 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1736, allocations: 4 kB / 0.7254 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.1736, allocations: 31.98 kB / 0.7255 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1738, allocations: 6.25 kB / 0.7255 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1754, allocations: 1.502 MB / 0.7269 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1756, allocations: 0.6962 MB / 0.7276 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.1757, allocations: 8 kB / 0.7276 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.1757, allocations: 15.44 kB / 0.7276 GB, free: 6.238 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1757, allocations: 4 kB / 0.7276 GB, free: 6.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2055, allocations: 2.219 MB / 0.7298 GB, free: 4.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.88, allocations: 2.625 kB / 0.7298 GB, free: 4.184 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.408934610895813] Failed to read output from testmodel.py, exit status != 0: 11.98819423886016 12.009005847 11.836955191 Calling exit ...