Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001205/0.001205, 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.001568/0.001568, allocations: 214.8 kB / 22.25 MB, free: 4.859 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.793 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.8483/0.8483, allocations: 134 MB / 446.4 MB, free: 9.941 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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.00199/0.00199, allocations: 69.42 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1687, allocations: 85.91 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002518/0.1712, allocations: 1.263 MB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009884/0.1722, allocations: 0.5219 MB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.1722, allocations: 7.938 kB / 0.7041 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.1722, allocations: 0 / 0.7041 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1723, allocations: 3.938 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.1728, allocations: 142.9 kB / 0.7043 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.1728, allocations: 15.94 kB / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1729, allocations: 3.938 kB / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.1729, allocations: 0 / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.1729, allocations: 7.984 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.173, allocations: 4 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.1734, allocations: 267.5 kB / 0.7046 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1734, allocations: 0 / 0.7046 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1734, allocations: 11.92 kB / 0.7046 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1737, allocations: 123.9 kB / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1737, allocations: 0 / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1737, allocations: 0 / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1737, allocations: 0 / 0.7047 GB, free: 14.71 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000419/0.1741, allocations: 290 kB / 0.705 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1741, allocations: 11.97 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1742, allocations: 30.75 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.1742, allocations: 4.938 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1743, allocations: 114.5 kB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1743, allocations: 384 / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1743, allocations: 8.125 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.1744, allocations: 29.7 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1744, allocations: 0 / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1744, allocations: 3.984 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1744, allocations: 0 / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.1745, allocations: 4 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.1746, allocations: 120.8 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.1747, allocations: 26.55 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.1747, allocations: 20.84 kB / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1747, allocations: 0 / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1748, allocations: 34.56 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1748, allocations: 0 / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.1749, allocations: 37.7 kB / 0.7054 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1749, allocations: 51.41 kB / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.175, allocations: 101.8 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1751, allocations: 25.95 kB / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.1751, allocations: 84.14 kB / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1751, allocations: 3.953 kB / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1751, allocations: 17.72 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1753, allocations: 314.8 kB / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.1753, allocations: 4 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.1753, allocations: 0 / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.1753, allocations: 20.84 kB / 0.706 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1753, allocations: 0 / 0.706 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.427e-05/0.1754, allocations: 41.59 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1754, allocations: 8.094 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1754, allocations: 0 / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1754, allocations: 0 / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1756, allocations: 15.92 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004184/0.176, allocations: 0.5899 MB / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.176, allocations: 3.984 kB / 0.7066 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.176, allocations: 7.875 kB / 0.7066 GB, free: 12.5 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.1761, allocations: 113.8 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-06/0.1761, allocations: 4.094 kB / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.1762, allocations: 48.94 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1762, allocations: 0 / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1762, allocations: 0 / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1762, allocations: 0 / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1763, allocations: 128.7 kB / 0.7069 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1763, allocations: 0 / 0.7069 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.1764, allocations: 8 kB / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1764, allocations: 4 kB / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1764, allocations: 3.984 kB / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003763/0.1768, allocations: 0.5899 MB / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1768, allocations: 0 / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.919e-05/0.1769, allocations: 65.06 kB / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.1769, allocations: 7.984 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1769, allocations: 3.938 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.1769, allocations: 0 / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.1769, allocations: 0 / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1769, allocations: 4 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.177, allocations: 79.41 kB / 0.7077 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 4.094 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000187/0.1772, allocations: 8 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004631/0.1776, allocations: 0.6123 MB / 0.7083 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1778, allocations: 19.98 kB / 0.7083 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1778, allocations: 0 / 0.7083 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.1779, allocations: 15.98 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.178, allocations: 6.062 kB / 0.7083 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.1784, allocations: 143.7 kB / 0.7084 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.1785, allocations: 59.3 kB / 0.7085 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.334e-05/0.1785, allocations: 0 / 0.7085 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1785, allocations: 7.438 kB / 0.7085 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1785, allocations: 0 / 0.7085 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.2094, allocations: 1.796 MB / 0.7103 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.62, allocations: 4.594 kB / 0.7103 GB, free: 8.754 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.244607713073492] Failed to read output from testmodel.py, exit status != 0: 12.739994537085295 12.765490957999999 12.587286753 Calling exit ...