Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001345/0.001345, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001443/0.001443, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8234/0.8234, allocations: 134 MB / 447.2 MB, free: 9.98 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_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001915/0.001915, allocations: 69.09 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1848, allocations: 85.9 MB / 0.7031 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002793/0.1876, allocations: 1.271 MB / 0.7044 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1887, allocations: 0.5297 MB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.1887, allocations: 0 / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.1887, allocations: 4 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.1888, allocations: 3.938 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.1893, allocations: 139.4 kB / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.1894, allocations: 4 kB / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.1894, allocations: 4 kB / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.1895, allocations: 0 / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.1895, allocations: 11.92 kB / 0.7051 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1895, allocations: 0 / 0.7051 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.19, allocations: 283.5 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.19, allocations: 4 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.19, allocations: 0 / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1903, allocations: 139.8 kB / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1903, allocations: 0 / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1903, allocations: 0 / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1903, allocations: 0 / 0.7055 GB, free: 14.7 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.0004438/0.1908, allocations: 286 kB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1908, allocations: 8.031 kB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/0.1908, allocations: 192 / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.1909, allocations: 38.67 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.1909, allocations: 8.938 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.191, allocations: 102.5 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.191, allocations: 384 / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.191, allocations: 7.938 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1911, allocations: 29.7 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1912, allocations: 4 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1912, allocations: 0 / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1912, allocations: 0 / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.1912, allocations: 3.984 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1914, allocations: 120.8 kB / 0.706 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.1914, allocations: 34.48 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.1915, allocations: 8.859 kB / 0.7061 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1915, allocations: 3.984 kB / 0.7061 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.1915, allocations: 42.55 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1915, allocations: 0 / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.1917, allocations: 37.64 kB / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1917, allocations: 55.34 kB / 0.7062 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.1918, allocations: 97.86 kB / 0.7063 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1918, allocations: 25.7 kB / 0.7063 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1918, allocations: 88.38 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1919, allocations: 7.953 kB / 0.7064 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.1919, allocations: 13.72 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.192, allocations: 314.8 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.1921, allocations: 0 / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.1921, allocations: 4 kB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.1921, allocations: 12.86 kB / 0.7068 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1921, allocations: 0 / 0.7068 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.632e-05/0.1922, allocations: 49.52 kB / 0.7068 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1922, allocations: 12.09 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1922, allocations: 0 / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1922, allocations: 0 / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1924, allocations: 11.98 kB / 0.7068 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004174/0.1928, allocations: 0.5821 MB / 0.7074 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.1928, allocations: 3.938 kB / 0.7074 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.1928, allocations: 0 / 0.7074 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 9.239e-05/0.1929, allocations: 113.8 kB / 0.7075 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.1929, allocations: 4 kB / 0.7075 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.193, allocations: 53.03 kB / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.193, allocations: 0 / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.193, allocations: 0 / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.193, allocations: 7.938 kB / 0.7076 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1931, allocations: 120.8 kB / 0.7077 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1931, allocations: 0 / 0.7077 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.1932, allocations: 8 kB / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1932, allocations: 4 kB / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.1932, allocations: 0 / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003683/0.1936, allocations: 0.5899 MB / 0.7083 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1936, allocations: 3.938 kB / 0.7083 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.1937, allocations: 65.12 kB / 0.7083 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.1937, allocations: 3.938 kB / 0.7083 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1937, allocations: 7.922 kB / 0.7084 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.1937, allocations: 0 / 0.7084 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1937, allocations: 4 kB / 0.7084 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.1937, allocations: 0 / 0.7084 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.1938, allocations: 75.28 kB / 0.7084 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1938, allocations: 224 / 0.7084 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002158/0.194, allocations: 16 kB / 0.7084 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.0004745/0.1945, allocations: 0.6161 MB / 0.709 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1946, allocations: 15.98 kB / 0.7091 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1946, allocations: 0 / 0.7091 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.1947, allocations: 16 kB / 0.7091 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.00014/0.1948, allocations: 3.984 kB / 0.7091 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.1954, allocations: 147.8 kB / 0.7092 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.616e-05/0.1954, allocations: 55.36 kB / 0.7093 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.1954, allocations: 0 / 0.7093 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.1955, allocations: 7.438 kB / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1955, allocations: 0 / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2169, allocations: 1.46 MB / 0.7107 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.24, allocations: 11.62 kB / 0.7107 GB, free: 9.102 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.807343177963048] Failed to read output from testmodel.py, exit status != 0: 13.405595478951 13.432890079 13.237618677 Calling exit ...