Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001878/0.001878, allocations: 109 kB / 20.48 MB, free: 1.473 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.00236/0.00236, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.447/1.447, allocations: 230.6 MB / 257.6 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9892/0.9892, allocations: 150 MB / 464 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002032/0.002032, allocations: 66.06 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 89.18 MB / 0.7291 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002376/0.1662, allocations: 1.289 MB / 0.7304 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1673, allocations: 0.611 MB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.1673, allocations: 0 / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.1673, allocations: 7.922 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.194e-05/0.1674, allocations: 0 / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.1679, allocations: 155.4 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.168, allocations: 23.92 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.168, allocations: 11.92 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.1681, allocations: 11.98 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.1681, allocations: 19.86 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1682, allocations: 4 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.1687, allocations: 335.4 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1687, allocations: 8 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1687, allocations: 23.91 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.169, allocations: 147.8 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.169, allocations: 3.938 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.169, allocations: 0 / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.169, allocations: 0 / 0.7317 GB, free: 14.62 MB / 0.5606 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.0004192/0.1694, allocations: 297.9 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1695, allocations: 8.031 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.165e-05/0.1695, allocations: 192 / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1695, allocations: 38.73 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.1696, allocations: 12.81 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.1697, allocations: 106.5 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1697, allocations: 4.375 kB / 0.7322 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1697, allocations: 7.938 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1698, allocations: 57.66 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1698, allocations: 3.953 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1698, allocations: 0 / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1698, allocations: 0 / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.1699, allocations: 19.98 kB / 0.7322 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.1701, allocations: 140.7 kB / 0.7324 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1702, allocations: 66.44 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.1702, allocations: 28.84 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1703, allocations: 0 / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1703, allocations: 34.56 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.1703, allocations: 0 / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001105/0.1714, allocations: 443.9 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1714, allocations: 51.41 kB / 0.733 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.1715, allocations: 93.86 kB / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1715, allocations: 33.64 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.1716, allocations: 84.27 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1716, allocations: 43.64 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1717, allocations: 25.72 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1718, allocations: 322.8 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.1719, allocations: 19.98 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.1719, allocations: 20 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.172, allocations: 55.22 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.172, allocations: 4 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001674/0.1722, allocations: 101.6 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1722, allocations: 4.094 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1722, allocations: 3.938 kB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1722, allocations: 4 kB / 0.7338 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1723, allocations: 23.92 kB / 0.7338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1723, allocations: 0 / 0.7338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.1723, allocations: 4 kB / 0.7338 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1723, allocations: 4 kB / 0.7338 GB, free: 12.26 MB / 0.5606 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 9.289e-05/0.1724, allocations: 125.7 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.1725, allocations: 4 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1727, allocations: 113.6 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1727, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1727, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1727, allocations: 3.984 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1731, allocations: 335.6 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1731, allocations: 0 / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1732, allocations: 27.92 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1732, allocations: 0 / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1732, allocations: 0 / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1732, allocations: 4 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.1732, allocations: 3.938 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1735, allocations: 207.5 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.1735, allocations: 7.938 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1735, allocations: 8.031 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.1736, allocations: 0 / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.1736, allocations: 19.8 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1736, allocations: 4.062 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.1737, allocations: 83.28 kB / 0.7347 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1737, allocations: 0 / 0.7347 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002768/0.174, allocations: 31.88 kB / 0.7347 GB, free: 11.21 MB / 0.5606 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.0006772/0.1746, allocations: 0.7784 MB / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1748, allocations: 68 kB / 0.7355 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1748, allocations: 0 / 0.7355 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.1749, allocations: 35.92 kB / 0.7356 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.1751, allocations: 3.938 kB / 0.7356 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1767, allocations: 1.498 MB / 0.737 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.177, allocations: 0.6895 MB / 0.7377 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.1771, allocations: 7.984 kB / 0.7377 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1771, allocations: 23.42 kB / 0.7377 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.1771, allocations: 7.938 kB / 0.7378 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.2007, allocations: 2.222 MB / 0.7399 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.64, allocations: 11.28 kB / 0.7399 GB, free: 5.941 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.40439833200071] Failed to read output from testmodel.py, exit status != 0: 11.802956397004891 11.819207013 11.646971936 Calling exit ...