Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007538/0.007538, allocations: 99.77 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 193.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8166/0.8166, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.67 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1579, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01896/0.1769, allocations: 17.46 MB / 0.6763 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007075/0.1841, allocations: 4.91 MB / 0.681 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.1846, allocations: 15.94 kB / 0.6811 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008586/0.1855, allocations: 254.4 kB / 0.6813 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1869, allocations: 0.6062 MB / 0.6819 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1888, allocations: 0.7426 MB / 0.6826 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1901, allocations: 0.9624 MB / 0.6836 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.1906, allocations: 332.9 kB / 0.6839 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006828/0.1912, allocations: 422.2 kB / 0.6843 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.1917, allocations: 322.6 kB / 0.6846 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.1918, allocations: 32 kB / 0.6846 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1931, allocations: 0.7214 MB / 0.6853 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1932, allocations: 127.5 kB / 0.6854 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.1935, allocations: 246.6 kB / 0.6857 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1947, allocations: 0.8912 MB / 0.6866 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1947, allocations: 0 / 0.6866 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1947, allocations: 0 / 0.6866 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1947, allocations: 0 / 0.6866 GB, free: 14.66 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001277/0.196, allocations: 0.9059 MB / 0.6874 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1961, allocations: 8.031 kB / 0.6874 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.1961, allocations: 58.73 kB / 0.6875 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1963, allocations: 64.55 kB / 0.6876 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.197, allocations: 465.2 kB / 0.688 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.1971, allocations: 24.56 kB / 0.688 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.1971, allocations: 31.94 kB / 0.6881 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.1976, allocations: 282.3 kB / 0.6883 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1977, allocations: 0 / 0.6883 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.1977, allocations: 12 kB / 0.6883 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1977, allocations: 11.98 kB / 0.6884 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.1981, allocations: 186.1 kB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.2001, allocations: 1.48 MB / 0.69 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.2005, allocations: 174.6 kB / 0.6901 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2007, allocations: 86.36 kB / 0.6902 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.2024, allocations: 1.276 MB / 0.6915 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.2024, allocations: 38.56 kB / 0.6915 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.2024, allocations: 3.938 kB / 0.6915 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006634/0.2031, allocations: 245.2 kB / 0.6917 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2031, allocations: 59.39 kB / 0.6918 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.2038, allocations: 0.577 MB / 0.6924 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.2039, allocations: 29.7 kB / 0.6924 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2041, allocations: 272.5 kB / 0.6927 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.2042, allocations: 63.53 kB / 0.6927 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2043, allocations: 73.91 kB / 0.6928 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2045, allocations: 358.8 kB / 0.6931 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2047, allocations: 77.94 kB / 0.6932 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.205, allocations: 213.2 kB / 0.6934 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.2055, allocations: 243.2 kB / 0.6936 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2055, allocations: 7.938 kB / 0.6936 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005875/0.2061, allocations: 301.1 kB / 0.6939 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2061, allocations: 7.984 kB / 0.6939 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2061, allocations: 4 kB / 0.6939 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2061, allocations: 4.25 kB / 0.6939 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2064, allocations: 71.84 kB / 0.694 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2064, allocations: 4 kB / 0.694 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2067, allocations: 43.72 kB / 0.6941 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.2067, allocations: 19.98 kB / 0.6941 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.2071, allocations: 212.6 kB / 0.6943 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002949/0.2074, allocations: 210.1 kB / 0.6945 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000401/0.2078, allocations: 226.9 kB / 0.6947 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.2078, allocations: 7.938 kB / 0.6947 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005766/0.2084, allocations: 314.1 kB / 0.695 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.2084, allocations: 8 kB / 0.695 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/0.2084, allocations: 0 / 0.695 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.2084, allocations: 4 kB / 0.695 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2086, allocations: 68.16 kB / 0.6951 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2087, allocations: 4 kB / 0.6951 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.209, allocations: 39.81 kB / 0.6951 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.209, allocations: 16 kB / 0.6951 GB, free: 5.195 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 0.0001475/0.2092, allocations: 204.1 kB / 0.6953 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.2092, allocations: 47.67 kB / 0.6954 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/0.2098, allocations: 264.3 kB / 0.6956 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.2098, allocations: 3.984 kB / 0.6956 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2098, allocations: 0 / 0.6956 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2099, allocations: 4 kB / 0.6956 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.2109, allocations: 0.7317 MB / 0.6964 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2109, allocations: 0 / 0.6964 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.211, allocations: 32.17 kB / 0.6964 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2111, allocations: 7.938 kB / 0.6964 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2111, allocations: 3.984 kB / 0.6964 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2111, allocations: 4 kB / 0.6964 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.2111, allocations: 7.922 kB / 0.6964 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.2116, allocations: 346.7 kB / 0.6967 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.2118, allocations: 148.7 kB / 0.6969 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.2118, allocations: 8 kB / 0.6969 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.212, allocations: 15.92 kB / 0.6969 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.2121, allocations: 19.92 kB / 0.6969 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2121, allocations: 8 kB / 0.6969 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004659/0.2126, allocations: 418.8 kB / 0.6973 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2126, allocations: 0 / 0.6973 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006989/0.2133, allocations: 231.5 kB / 0.6975 GB, free: 2.602 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002242/0.2155, allocations: 1.276 MB / 0.6988 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007393/0.2163, allocations: 333.1 kB / 0.6991 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2163, allocations: 0 / 0.6991 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2165, allocations: 92.14 kB / 0.6992 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.2177, allocations: 248.9 kB / 0.6994 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.2228, allocations: 3.957 MB / 0.7033 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.2233, allocations: 0.8428 MB / 0.7041 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003061/0.2236, allocations: 102.9 kB / 0.7042 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.2238, allocations: 163.4 kB / 0.7044 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.2239, allocations: 0 / 0.7044 GB, free: 11.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.2643, allocations: 15.04 MB / 0.7191 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/8.774, allocations: 4.875 kB / 0.7191 GB, free: 12.71 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)