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.007742/0.007742, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001958/0.001958, allocations: 185.9 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8017/0.8017, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 65.12 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1549, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02073/0.1756, allocations: 17.46 MB / 0.6763 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007382/0.1831, allocations: 4.914 MB / 0.6811 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006591/0.1837, allocations: 19.88 kB / 0.6811 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1848, allocations: 250.4 kB / 0.6813 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.1867, allocations: 0.6102 MB / 0.6819 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.1888, allocations: 0.7339 MB / 0.6826 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.1902, allocations: 0.965 MB / 0.6836 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.1907, allocations: 336.9 kB / 0.6839 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.1914, allocations: 426.2 kB / 0.6843 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.1918, allocations: 314.6 kB / 0.6846 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.1919, allocations: 32 kB / 0.6846 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.1932, allocations: 0.7214 MB / 0.6853 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1934, allocations: 127.6 kB / 0.6854 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.1936, allocations: 246.6 kB / 0.6857 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.1949, allocations: 0.8912 MB / 0.6866 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1949, allocations: 4 kB / 0.6866 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1949, allocations: 0 / 0.6866 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.195, allocations: 0 / 0.6866 GB, free: 14.63 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.001324/0.1963, allocations: 0.902 MB / 0.6874 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1963, allocations: 8.031 kB / 0.6874 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.51e-05/0.1964, allocations: 58.73 kB / 0.6875 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1966, allocations: 68.56 kB / 0.6876 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.1973, allocations: 465.1 kB / 0.688 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1974, allocations: 24.56 kB / 0.688 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1974, allocations: 28 kB / 0.6881 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.198, allocations: 282.3 kB / 0.6883 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.198, allocations: 3.938 kB / 0.6883 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.198, allocations: 8 kB / 0.6883 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.198, allocations: 8 kB / 0.6883 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.1985, allocations: 198 kB / 0.6885 GB, free: 12.48 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.001914/0.2004, allocations: 1.476 MB / 0.69 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.2007, allocations: 170.6 kB / 0.6901 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2009, allocations: 80.81 kB / 0.6902 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.2025, allocations: 1.28 MB / 0.6915 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2026, allocations: 34.56 kB / 0.6915 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2026, allocations: 0 / 0.6915 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006527/0.2032, allocations: 256 kB / 0.6917 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2033, allocations: 51.41 kB / 0.6918 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/0.204, allocations: 0.5887 MB / 0.6924 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.204, allocations: 29.7 kB / 0.6924 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.2042, allocations: 276.4 kB / 0.6927 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.2043, allocations: 51.55 kB / 0.6927 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2044, allocations: 69.97 kB / 0.6928 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2046, allocations: 358.8 kB / 0.6931 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2048, allocations: 77.94 kB / 0.6932 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.2051, allocations: 210.7 kB / 0.6934 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.2055, allocations: 242.2 kB / 0.6936 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2056, allocations: 3.938 kB / 0.6936 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005958/0.2062, allocations: 311.1 kB / 0.6939 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2062, allocations: 8.25 kB / 0.6939 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2062, allocations: 4 kB / 0.6939 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2062, allocations: 4 kB / 0.6939 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.2065, allocations: 67.89 kB / 0.694 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2065, allocations: 4 kB / 0.694 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.2068, allocations: 43.72 kB / 0.6941 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.2068, allocations: 16 kB / 0.6941 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003113/0.2072, allocations: 216.6 kB / 0.6943 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003076/0.2075, allocations: 214 kB / 0.6945 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004059/0.2079, allocations: 231.5 kB / 0.6947 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.2079, allocations: 0 / 0.6947 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005796/0.2085, allocations: 316.9 kB / 0.695 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2085, allocations: 9.656 kB / 0.695 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.2085, allocations: 4 kB / 0.695 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.2085, allocations: 4 kB / 0.695 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.2088, allocations: 63.91 kB / 0.6951 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.2088, allocations: 4 kB / 0.6951 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.2091, allocations: 39.81 kB / 0.6951 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2091, allocations: 16 kB / 0.6951 GB, free: 5.168 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.000141/0.2093, allocations: 208.1 kB / 0.6953 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.2093, allocations: 48.05 kB / 0.6954 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.2099, allocations: 261.7 kB / 0.6956 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.21, allocations: 0 / 0.6956 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.21, allocations: 4 kB / 0.6956 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.21, allocations: 3.984 kB / 0.6956 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.211, allocations: 0.7317 MB / 0.6964 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2111, allocations: 0 / 0.6964 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2112, allocations: 35.92 kB / 0.6964 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2112, allocations: 4 kB / 0.6964 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2112, allocations: 4 kB / 0.6964 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2112, allocations: 128 / 0.6964 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2112, allocations: 7.938 kB / 0.6964 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.2118, allocations: 360.3 kB / 0.6967 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.2119, allocations: 140.8 kB / 0.6969 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.212, allocations: 11.98 kB / 0.6969 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2122, allocations: 8 kB / 0.6969 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.2123, allocations: 19.91 kB / 0.6969 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2123, allocations: 8 kB / 0.6969 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004843/0.2128, allocations: 418.8 kB / 0.6973 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2128, allocations: 0 / 0.6973 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007287/0.2135, allocations: 235.5 kB / 0.6976 GB, free: 2.57 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.002396/0.2159, allocations: 1.275 MB / 0.6988 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.2166, allocations: 330.1 kB / 0.6991 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2167, allocations: 1 kB / 0.6991 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.2169, allocations: 98.83 kB / 0.6992 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.2181, allocations: 250.1 kB / 0.6994 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.2234, allocations: 3.95 MB / 0.7033 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.2239, allocations: 0.8428 MB / 0.7041 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.2242, allocations: 100 kB / 0.7042 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.2245, allocations: 167.3 kB / 0.7044 GB, free: 11.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2245, allocations: 4 kB / 0.7044 GB, free: 11.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.2642, allocations: 15.04 MB / 0.7191 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.78, allocations: 2.031 kB / 0.7191 GB, free: 12.68 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)