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.004135/0.004135, allocations: 102.9 kB / 15.74 MB, free: 6.449 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.0009664/0.0009665, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7198/0.7198, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.36 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01896/0.1783, allocations: 17.46 MB / 0.6763 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006779/0.1851, allocations: 4.916 MB / 0.6811 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005476/0.1857, allocations: 11.94 kB / 0.6811 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.1866, allocations: 266.3 kB / 0.6813 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.1879, allocations: 0.6318 MB / 0.6819 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.1897, allocations: 0.735 MB / 0.6827 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.1907, allocations: 0.9813 MB / 0.6836 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.1911, allocations: 332.9 kB / 0.6839 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.1917, allocations: 422.3 kB / 0.6843 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.1921, allocations: 318.6 kB / 0.6846 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.1921, allocations: 28 kB / 0.6847 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1932, allocations: 0.7253 MB / 0.6854 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1933, allocations: 131.6 kB / 0.6855 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.1935, allocations: 242.6 kB / 0.6857 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1946, allocations: 0.8951 MB / 0.6866 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1946, allocations: 0 / 0.6866 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1947, allocations: 0 / 0.6866 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1947, allocations: 0 / 0.6866 GB, free: 1.84 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001226/0.1959, allocations: 0.902 MB / 0.6875 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1959, allocations: 8.031 kB / 0.6875 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.196, allocations: 58.72 kB / 0.6875 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1962, allocations: 64.56 kB / 0.6876 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.1969, allocations: 465.2 kB / 0.688 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1969, allocations: 24.5 kB / 0.6881 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.1969, allocations: 31.98 kB / 0.6881 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.1974, allocations: 290.3 kB / 0.6884 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1975, allocations: 3.938 kB / 0.6884 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1975, allocations: 8 kB / 0.6884 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1975, allocations: 8 kB / 0.6884 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.1979, allocations: 186.1 kB / 0.6886 GB, free: 15.7 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.00168/0.1996, allocations: 1.476 MB / 0.69 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1999, allocations: 170.7 kB / 0.6902 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2001, allocations: 80.81 kB / 0.6903 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.2016, allocations: 1.28 MB / 0.6915 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2016, allocations: 30.56 kB / 0.6915 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.2016, allocations: 4 kB / 0.6915 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006164/0.2022, allocations: 259.9 kB / 0.6918 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2023, allocations: 51.41 kB / 0.6918 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.2028, allocations: 0.577 MB / 0.6924 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.2029, allocations: 33.7 kB / 0.6924 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2031, allocations: 268.5 kB / 0.6927 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.2031, allocations: 71.45 kB / 0.6928 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.2032, allocations: 61.98 kB / 0.6928 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2033, allocations: 358.8 kB / 0.6932 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.2035, allocations: 77.94 kB / 0.6932 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.2038, allocations: 218.7 kB / 0.6934 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.2042, allocations: 235.4 kB / 0.6937 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2042, allocations: 7.938 kB / 0.6937 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005458/0.2048, allocations: 313 kB / 0.694 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2048, allocations: 8 kB / 0.694 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2048, allocations: 0 / 0.694 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2048, allocations: 8 kB / 0.694 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2051, allocations: 64.09 kB / 0.694 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.2051, allocations: 4 kB / 0.6941 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2054, allocations: 55.64 kB / 0.6941 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2054, allocations: 12 kB / 0.6941 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002954/0.2057, allocations: 212.6 kB / 0.6943 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002699/0.206, allocations: 219.2 kB / 0.6945 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003663/0.2064, allocations: 228 kB / 0.6947 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.2064, allocations: 4 kB / 0.6948 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005383/0.2069, allocations: 312.9 kB / 0.695 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.207, allocations: 4 kB / 0.6951 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.207, allocations: 4 kB / 0.6951 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.207, allocations: 8 kB / 0.6951 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2072, allocations: 64.16 kB / 0.6951 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2072, allocations: 7.984 kB / 0.6951 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.2075, allocations: 39.83 kB / 0.6952 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.2076, allocations: 11.98 kB / 0.6952 GB, free: 8.383 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.0001084/0.2077, allocations: 200.1 kB / 0.6954 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.2078, allocations: 51.67 kB / 0.6954 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.2083, allocations: 259.2 kB / 0.6957 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.2083, allocations: 4 kB / 0.6957 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2083, allocations: 0 / 0.6957 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2083, allocations: 0 / 0.6957 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.2093, allocations: 0.7356 MB / 0.6964 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2093, allocations: 4 kB / 0.6964 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2094, allocations: 31.92 kB / 0.6964 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2095, allocations: 3.984 kB / 0.6964 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2095, allocations: 8 kB / 0.6964 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2095, allocations: 0 / 0.6964 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2095, allocations: 7.938 kB / 0.6964 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.21, allocations: 349.8 kB / 0.6968 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.2101, allocations: 148.7 kB / 0.6969 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.2102, allocations: 7.922 kB / 0.6969 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2104, allocations: 19.98 kB / 0.6969 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.2104, allocations: 15.92 kB / 0.697 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2105, allocations: 4 kB / 0.697 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000429/0.2109, allocations: 418.8 kB / 0.6974 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.413e-06/0.2109, allocations: 0 / 0.6974 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006669/0.2116, allocations: 239.5 kB / 0.6976 GB, free: 5.789 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.001654/0.2132, allocations: 1.279 MB / 0.6988 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006668/0.2139, allocations: 327.7 kB / 0.6992 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2139, allocations: 0 / 0.6992 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.2141, allocations: 81.08 kB / 0.6992 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.2152, allocations: 251.5 kB / 0.6995 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.2197, allocations: 3.964 MB / 0.7033 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.2201, allocations: 0.8467 MB / 0.7042 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.2204, allocations: 105.5 kB / 0.7043 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.2206, allocations: 163.3 kB / 0.7044 GB, free: 14.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.2206, allocations: 0 / 0.7044 GB, free: 14.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2561, allocations: 15.03 MB / 0.7191 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.309, allocations: 9.672 kB / 0.7191 GB, free: 15.95 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)