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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.7993/0.7993, allocations: 134 MB / 436.6 MB, free: 1.27 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.8 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1616, allocations: 84.68 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002342/0.1639, allocations: 1.242 MB / 0.689 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.1649, allocations: 0.5997 MB / 0.6896 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.165, allocations: 0 / 0.6896 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.165, allocations: 3.984 kB / 0.6896 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.539e-05/0.165, allocations: 4 kB / 0.6896 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.1655, allocations: 139.4 kB / 0.6897 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.668e-05/0.1656, allocations: 7.938 kB / 0.6897 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1656, allocations: 0 / 0.6897 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.1656, allocations: 7.984 kB / 0.6898 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.1657, allocations: 11.94 kB / 0.6898 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1657, allocations: 0 / 0.6898 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.1662, allocations: 339.3 kB / 0.6901 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1662, allocations: 11.97 kB / 0.6901 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.1662, allocations: 4 kB / 0.6901 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1665, allocations: 143.8 kB / 0.6902 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1665, allocations: 0 / 0.6902 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1665, allocations: 0 / 0.6902 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1665, allocations: 0 / 0.6902 GB, free: 8.574 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004277/0.1669, allocations: 347.1 kB / 0.6906 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.167, allocations: 8.031 kB / 0.6906 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.167, allocations: 34.75 kB / 0.6906 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.167, allocations: 8.891 kB / 0.6906 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1672, allocations: 164.4 kB / 0.6908 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1672, allocations: 384 / 0.6908 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1672, allocations: 4.125 kB / 0.6908 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1673, allocations: 37.62 kB / 0.6908 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1673, allocations: 4 kB / 0.6908 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.1673, allocations: 0 / 0.6908 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1673, allocations: 0 / 0.6908 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.1673, allocations: 4 kB / 0.6908 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.1675, allocations: 161.6 kB / 0.691 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.1676, allocations: 22.61 kB / 0.691 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.1676, allocations: 12.86 kB / 0.691 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1676, allocations: 3.984 kB / 0.691 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1676, allocations: 34.5 kB / 0.6911 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1676, allocations: 0 / 0.6911 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.1678, allocations: 45.78 kB / 0.6911 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1678, allocations: 55.41 kB / 0.6911 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.1679, allocations: 89.86 kB / 0.6912 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1679, allocations: 29.64 kB / 0.6913 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.1679, allocations: 84.14 kB / 0.6913 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.168, allocations: 7.953 kB / 0.6913 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.168, allocations: 13.7 kB / 0.6914 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1681, allocations: 315 kB / 0.6917 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.1682, allocations: 4 kB / 0.6917 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.1682, allocations: 8 kB / 0.6917 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.1682, allocations: 12.8 kB / 0.6917 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1682, allocations: 0 / 0.6917 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.666e-05/0.1683, allocations: 45.62 kB / 0.6917 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1683, allocations: 4 kB / 0.6917 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1683, allocations: 4 kB / 0.6917 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1683, allocations: 0 / 0.6917 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1684, allocations: 12.09 kB / 0.6917 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004264/0.1689, allocations: 0.586 MB / 0.6923 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1689, allocations: 3.953 kB / 0.6923 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1689, allocations: 3.938 kB / 0.6923 GB, free: 6.18 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 (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 7.946e-05/0.169, allocations: 110.5 kB / 0.6924 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.169, allocations: 96 / 0.6924 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.1691, allocations: 56.73 kB / 0.6925 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1691, allocations: 0 / 0.6925 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1691, allocations: 0 / 0.6925 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1691, allocations: 0 / 0.6925 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1692, allocations: 157.6 kB / 0.6926 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1692, allocations: 0 / 0.6926 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.1693, allocations: 11.94 kB / 0.6926 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1693, allocations: 0 / 0.6926 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.1693, allocations: 3.938 kB / 0.6927 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003676/0.1697, allocations: 0.5899 MB / 0.6932 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1697, allocations: 0 / 0.6932 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.808e-05/0.1698, allocations: 65.11 kB / 0.6933 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1698, allocations: 77.11 kB / 0.6934 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1698, allocations: 7.922 kB / 0.6934 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.1698, allocations: 8.125 kB / 0.6934 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.1699, allocations: 4 kB / 0.6934 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1699, allocations: 0 / 0.6934 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.1699, allocations: 79.28 kB / 0.6935 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 0.6935 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001878/0.1701, allocations: 8 kB / 0.6935 GB, free: 4.883 MB / 0.5137 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.0004642/0.1706, allocations: 0.6255 MB / 0.6941 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1707, allocations: 27.86 kB / 0.6941 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1707, allocations: 0 / 0.6941 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.1708, allocations: 12 kB / 0.6941 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1709, allocations: 3.672 kB / 0.6941 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.1714, allocations: 143.8 kB / 0.6943 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1717, allocations: 0.6729 MB / 0.6949 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.1717, allocations: 0 / 0.6949 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1717, allocations: 7.438 kB / 0.6949 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1717, allocations: 0 / 0.6949 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1968, allocations: 1.394 MB / 0.6963 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.42, allocations: 13.73 kB / 0.6963 GB, free: 2.121 MB / 0.5137 GB " [Timeout remaining time 648] (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: 14.803908802568913] Failed to read output from testmodel.py, exit status != 0: 11.506204052362591 11.525622852 11.355714177 Calling exit ...