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.001318/0.001318, allocations: 116.1 kB / 17.17 MB, free: 6 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.001475/0.001475, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.43/1.43, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8282/0.8282, allocations: 133.9 MB / 443.5 MB, free: 13.88 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="cs",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="cs",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.002022/0.002022, allocations: 67.06 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 85.84 MB / 0.6979 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002396/0.1724, allocations: 1.307 MB / 0.6992 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1736, allocations: 0.6155 MB / 0.6998 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1736, allocations: 0 / 0.6998 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.1736, allocations: 3.984 kB / 0.6998 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.1737, allocations: 9.297 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.1742, allocations: 144.8 kB / 0.7 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.646e-05/0.1743, allocations: 29.61 kB / 0.7 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1744, allocations: 5.359 kB / 0.7 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.1744, allocations: 18.8 kB / 0.7 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1745, allocations: 16.05 kB / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1745, allocations: 1.375 kB / 0.7 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.175, allocations: 346.3 kB / 0.7004 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.175, allocations: 1.375 kB / 0.7004 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.175, allocations: 13.44 kB / 0.7004 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1753, allocations: 156.8 kB / 0.7005 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1753, allocations: 4 kB / 0.7005 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1753, allocations: 1.375 kB / 0.7005 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1753, allocations: 0 / 0.7005 GB, free: 11.74 MB / 0.5137 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.0004748/0.1758, allocations: 374.2 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1758, allocations: 11.3 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.644e-05/0.1758, allocations: 1.562 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.1758, allocations: 32.12 kB / 0.7009 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.1759, allocations: 2.312 kB / 0.7009 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.176, allocations: 181.6 kB / 0.7011 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.176, allocations: 7.125 kB / 0.7011 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1761, allocations: 6.688 kB / 0.7011 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1762, allocations: 48.69 kB / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1762, allocations: 0 / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1762, allocations: 5.359 kB / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1762, allocations: 0 / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.379e-05/0.1763, allocations: 20.14 kB / 0.7012 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1765, allocations: 160.7 kB / 0.7014 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1766, allocations: 74.89 kB / 0.7014 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.1766, allocations: 21.27 kB / 0.7014 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1767, allocations: 3.984 kB / 0.7014 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1767, allocations: 35.72 kB / 0.7015 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1767, allocations: 1.125 kB / 0.7015 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001223/0.1779, allocations: 0.5945 MB / 0.7021 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.178, allocations: 53.22 kB / 0.7021 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.952e-05/0.178, allocations: 93.05 kB / 0.7022 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.178, allocations: 29.7 kB / 0.7022 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.1781, allocations: 81.98 kB / 0.7023 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1781, allocations: 39.47 kB / 0.7023 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.1782, allocations: 26.34 kB / 0.7024 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1783, allocations: 323.9 kB / 0.7027 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.1784, allocations: 28.36 kB / 0.7027 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.1784, allocations: 24.75 kB / 0.7027 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.1785, allocations: 57.19 kB / 0.7028 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1785, allocations: 0 / 0.7028 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.1787, allocations: 94.55 kB / 0.7029 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1787, allocations: 5.594 kB / 0.7029 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1787, allocations: 4 kB / 0.7029 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1787, allocations: 5.375 kB / 0.7029 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1788, allocations: 26.02 kB / 0.7029 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1788, allocations: 0 / 0.7029 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.1788, allocations: 1.375 kB / 0.7029 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1788, allocations: 6.719 kB / 0.7029 GB, free: 9.367 MB / 0.5137 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.348e-05/0.1789, allocations: 116.9 kB / 0.703 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.1789, allocations: 7.859 kB / 0.703 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.1791, allocations: 111.4 kB / 0.7031 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1792, allocations: 1.375 kB / 0.7031 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1792, allocations: 0 / 0.7031 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1792, allocations: 0 / 0.7031 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1796, allocations: 348.7 kB / 0.7035 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1796, allocations: 0 / 0.7035 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1797, allocations: 29.67 kB / 0.7035 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1797, allocations: 1.469 kB / 0.7035 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1797, allocations: 1.219 kB / 0.7035 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1797, allocations: 0 / 0.7035 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1797, allocations: 9.406 kB / 0.7035 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.18, allocations: 215.2 kB / 0.7037 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.18, allocations: 81.09 kB / 0.7038 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.18, allocations: 0 / 0.7038 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.1801, allocations: 8.031 kB / 0.7038 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.1801, allocations: 11.92 kB / 0.7038 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1802, allocations: 7.984 kB / 0.7038 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.1802, allocations: 79.34 kB / 0.7039 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1802, allocations: 0 / 0.7039 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002745/0.1805, allocations: 35.88 kB / 0.7039 GB, free: 8.359 MB / 0.5137 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.0006525/0.1811, allocations: 0.7849 MB / 0.7047 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1813, allocations: 64.06 kB / 0.7048 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1813, allocations: 4 kB / 0.7048 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.1813, allocations: 31.92 kB / 0.7048 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1815, allocations: 15.88 kB / 0.7048 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1831, allocations: 1.507 MB / 0.7063 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1835, allocations: 0.6883 MB / 0.707 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.126e-05/0.1835, allocations: 12.06 kB / 0.707 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.1835, allocations: 19.42 kB / 0.707 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1835, allocations: 0 / 0.707 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.2024, allocations: 2.108 MB / 0.7091 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.27, allocations: 15 kB / 0.7091 GB, free: 3.191 MB / 0.5137 GB " [Timeout remaining time 651] (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 sys.exit(0), Time elapsed: 11.931361827999353] Failed to read output from testmodel.py, exit status != 0: 8.697909134963993 8.420401006 8.240874667 Calling exit ...