Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001314/0.001314, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001526/0.001526, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8322/0.8322, allocations: 134 MB / 446.4 MB, free: 9.945 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002126/0.002126, allocations: 70.22 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1581, allocations: 85.91 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00251/0.1606, allocations: 1.294 MB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1617, allocations: 0.5565 MB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.1617, allocations: 0 / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.1617, allocations: 3.938 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.1618, allocations: 0 / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.1624, allocations: 159.3 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.1624, allocations: 23.92 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1625, allocations: 7.984 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.1625, allocations: 12 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.1625, allocations: 15.91 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1626, allocations: 4 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.163, allocations: 259.5 kB / 0.7047 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.163, allocations: 19.91 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.163, allocations: 7.938 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1633, allocations: 155.7 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1633, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1633, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1633, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 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.0004041/0.1637, allocations: 297.9 kB / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1637, allocations: 12.03 kB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.1638, allocations: 34.75 kB / 0.7052 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1638, allocations: 4.938 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1639, allocations: 110.4 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1639, allocations: 4.375 kB / 0.7053 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1639, allocations: 8.125 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1641, allocations: 105 kB / 0.7054 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1641, allocations: 0 / 0.7054 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1641, allocations: 4 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1641, allocations: 4 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.1642, allocations: 15.98 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.1643, allocations: 132.8 kB / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1644, allocations: 58.55 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.1645, allocations: 28.8 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1645, allocations: 3.938 kB / 0.7056 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1645, allocations: 30.56 kB / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1645, allocations: 0 / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001078/0.1656, allocations: 463.2 kB / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1656, allocations: 51.41 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.1657, allocations: 101.8 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1657, allocations: 25.7 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1658, allocations: 84.14 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.1658, allocations: 39.69 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1659, allocations: 25.72 kB / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.166, allocations: 318.8 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.1661, allocations: 20 kB / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.1661, allocations: 28.11 kB / 0.7067 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-05/0.1662, allocations: 64.22 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1662, allocations: 3.938 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001483/0.1663, allocations: 93.73 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1664, allocations: 10.44 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1664, allocations: 0 / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1664, allocations: 4 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1665, allocations: 19.98 kB / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1665, allocations: 320 / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.1665, allocations: 7.938 kB / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.1665, allocations: 0 / 0.7069 GB, free: 12.13 MB / 0.5294 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 8.825e-05/0.1666, allocations: 125.7 kB / 0.7071 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.1666, allocations: 4 kB / 0.7071 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.1668, allocations: 109.7 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1668, allocations: 4 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1668, allocations: 0 / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1668, allocations: 0 / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.1672, allocations: 321.5 kB / 0.7075 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1672, allocations: 4 kB / 0.7075 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1673, allocations: 16 kB / 0.7075 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1673, allocations: 0 / 0.7075 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1673, allocations: 11.98 kB / 0.7075 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1674, allocations: 4 kB / 0.7075 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1674, allocations: 0 / 0.7075 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1676, allocations: 219.3 kB / 0.7077 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.1676, allocations: 4.031 kB / 0.7077 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1676, allocations: 0 / 0.7077 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.1677, allocations: 7.984 kB / 0.7077 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.1677, allocations: 11.94 kB / 0.7077 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1678, allocations: 7.984 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.1678, allocations: 79.34 kB / 0.7078 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1678, allocations: 4.094 kB / 0.7078 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002642/0.1681, allocations: 35.88 kB / 0.7079 GB, free: 11.09 MB / 0.5294 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.0006331/0.1687, allocations: 0.7898 MB / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1688, allocations: 51.97 kB / 0.7087 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1688, allocations: 4 kB / 0.7087 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.1689, allocations: 27.94 kB / 0.7087 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1691, allocations: 15.92 kB / 0.7087 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1707, allocations: 1.493 MB / 0.7102 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.053e-05/0.1707, allocations: 79.19 kB / 0.7103 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.1708, allocations: 4 kB / 0.7103 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1708, allocations: 23.31 kB / 0.7103 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1708, allocations: 4.062 kB / 0.7103 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2006, allocations: 2.55 MB / 0.7128 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.02, allocations: 7.625 kB / 0.7128 GB, free: 6.105 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.481824712827802] Failed to read output from testmodel.py, exit status != 0: 11.12066094018519 11.149022864 10.980554345 Calling exit ...