Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001654/0.001654, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002175/0.002175, allocations: 213.2 kB / 22.24 MB, free: 5.262 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 / 256 MB, free: 7.734 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.8146/0.8146, allocations: 134 MB / 446.4 MB, free: 9.895 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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.003137/0.003137, allocations: 66.56 kB / 0.6185 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.161, allocations: 85.91 MB / 0.7024 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002816/0.1638, allocations: 1.475 MB / 0.7038 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1649, allocations: 0.5643 MB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.165, allocations: 0 / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.165, allocations: 7.938 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.165, allocations: 7.875 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.1657, allocations: 171.1 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.1658, allocations: 55.59 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.1658, allocations: 0 / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.1659, allocations: 27.91 kB / 0.7046 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.1659, allocations: 19.92 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1659, allocations: 4 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.1664, allocations: 271.5 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.1664, allocations: 19.92 kB / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1665, allocations: 23.92 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1668, allocations: 167.6 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1668, allocations: 0 / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1668, allocations: 0 / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1668, allocations: 0 / 0.7051 GB, free: 14.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005919/0.1674, allocations: 333.7 kB / 0.7054 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1674, allocations: 12.03 kB / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1674, allocations: 34.75 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1675, allocations: 8.922 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1676, allocations: 118.4 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1676, allocations: 8.375 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1676, allocations: 12.06 kB / 0.7056 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1679, allocations: 129.1 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1679, allocations: 0 / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1679, allocations: 4 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1679, allocations: 4 kB / 0.7057 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.1682, allocations: 51.89 kB / 0.7058 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.1687, allocations: 283.8 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.169, allocations: 74.48 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1691, allocations: 32.83 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1691, allocations: 0 / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1692, allocations: 34.56 kB / 0.7062 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1692, allocations: 0 / 0.7062 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001559/0.1707, allocations: 0.5007 MB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1708, allocations: 51.41 kB / 0.7067 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.1709, allocations: 109.8 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1709, allocations: 29.7 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1709, allocations: 88.03 kB / 0.707 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.171, allocations: 47.62 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.171, allocations: 29.72 kB / 0.707 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1712, allocations: 318.8 kB / 0.7073 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1713, allocations: 39.91 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1714, allocations: 27.98 kB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.1717, allocations: 72.83 kB / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1717, allocations: 0 / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003306/0.172, allocations: 121.8 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.172, allocations: 4 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.172, allocations: 0 / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.172, allocations: 3.938 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1722, allocations: 31.91 kB / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1722, allocations: 4 kB / 0.7076 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.1722, allocations: 4 kB / 0.7076 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1723, allocations: 4 kB / 0.7076 GB, free: 11.36 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 9.844e-05/0.1724, allocations: 113.8 kB / 0.7077 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1724, allocations: 11.95 kB / 0.7078 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.1728, allocations: 133.5 kB / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1728, allocations: 4 kB / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1728, allocations: 0 / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1728, allocations: 0 / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.1734, allocations: 346.6 kB / 0.7082 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1734, allocations: 0 / 0.7082 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1735, allocations: 36 kB / 0.7083 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1735, allocations: 3.938 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1735, allocations: 4 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1735, allocations: 4 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1735, allocations: 0 / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.1741, allocations: 248.4 kB / 0.7085 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.1741, allocations: 15.92 kB / 0.7085 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1741, allocations: 0 / 0.7085 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1742, allocations: 7.984 kB / 0.7085 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.1742, allocations: 12.05 kB / 0.7085 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1743, allocations: 8 kB / 0.7085 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.1743, allocations: 75.28 kB / 0.7086 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1743, allocations: 4 kB / 0.7086 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002714/0.1746, allocations: 39.86 kB / 0.7087 GB, free: 10.24 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0009093/0.1755, allocations: 0.8137 MB / 0.7095 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1758, allocations: 87.88 kB / 0.7095 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1758, allocations: 0 / 0.7095 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1759, allocations: 39.92 kB / 0.7096 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1762, allocations: 16.84 kB / 0.7096 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.1784, allocations: 1.599 MB / 0.7112 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.1784, allocations: 75.45 kB / 0.7112 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.956e-05/0.1785, allocations: 20.64 kB / 0.7112 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1785, allocations: 19.44 kB / 0.7113 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of SimCode: time 4.1e-07/0.1785, allocations: 3.938 kB / 0.7113 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2072, allocations: 2.864 MB / 0.7141 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.25, allocations: 8 kB / 0.7141 GB, free: 4.762 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.713535577058792] Failed to read output from testmodel.py, exit status != 0: 11.359141618944705 11.382957146 11.211735716 Calling exit ...