Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.005425/0.005425, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001188/0.001188, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.83 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.156, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.018/0.174, allocations: 15.55 MB / 0.6744 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006597/0.1806, allocations: 4.33 MB / 0.6786 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.1814, allocations: 15.94 kB / 0.6786 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1825, allocations: 258.3 kB / 0.6789 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.1843, allocations: 0.6041 MB / 0.6795 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.1863, allocations: 0.7114 MB / 0.6802 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1877, allocations: 1.029 MB / 0.6812 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1881, allocations: 338.6 kB / 0.6815 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.1888, allocations: 426.3 kB / 0.6819 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.1892, allocations: 326.5 kB / 0.6822 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.1892, allocations: 28 kB / 0.6822 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009983/0.1902, allocations: 0.6278 MB / 0.6828 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1904, allocations: 103.6 kB / 0.6829 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.1906, allocations: 218.8 kB / 0.6832 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009729/0.1916, allocations: 0.7797 MB / 0.6839 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1916, allocations: 4 kB / 0.6839 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1916, allocations: 0 / 0.6839 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.1916, allocations: 0 / 0.6839 GB, free: 4.59 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001382/0.193, allocations: 0.8174 MB / 0.6847 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.193, allocations: 16.02 kB / 0.6847 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.1931, allocations: 54.73 kB / 0.6848 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.1932, allocations: 56.28 kB / 0.6848 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.1939, allocations: 448.2 kB / 0.6853 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1939, allocations: 20.44 kB / 0.6853 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.194, allocations: 28 kB / 0.6853 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.1944, allocations: 215.2 kB / 0.6855 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1944, allocations: 0 / 0.6855 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1944, allocations: 8 kB / 0.6855 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1944, allocations: 8 kB / 0.6855 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.1948, allocations: 161.6 kB / 0.6857 GB, free: 2.676 MB / 0.5137 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.001462/0.1963, allocations: 0.9457 MB / 0.6866 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1965, allocations: 130.5 kB / 0.6867 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1967, allocations: 68.81 kB / 0.6868 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.197, allocations: 344.5 kB / 0.6871 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.197, allocations: 38.56 kB / 0.6872 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.197, allocations: 0 / 0.6872 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005748/0.1976, allocations: 235.9 kB / 0.6874 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1977, allocations: 55.41 kB / 0.6874 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1982, allocations: 481.9 kB / 0.6879 GB, free: 208 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1982, allocations: 29.7 kB / 0.6879 GB, free: 172 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1984, allocations: 232.7 kB / 0.6882 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.1984, allocations: 47.3 kB / 0.6882 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.1985, allocations: 61.59 kB / 0.6883 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1987, allocations: 350.8 kB / 0.6886 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.1988, allocations: 72.81 kB / 0.6887 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.1991, allocations: 151.7 kB / 0.6888 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1994, allocations: 156.5 kB / 0.689 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1994, allocations: 0 / 0.689 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004676/0.1999, allocations: 263.5 kB / 0.6892 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1999, allocations: 4 kB / 0.6892 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1999, allocations: 4 kB / 0.6892 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1999, allocations: 0 / 0.6892 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2002, allocations: 55.84 kB / 0.6893 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2002, allocations: 0 / 0.6893 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.2005, allocations: 43.66 kB / 0.6893 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2005, allocations: 4 kB / 0.6893 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002599/0.2008, allocations: 196.1 kB / 0.6895 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000215/0.201, allocations: 165.2 kB / 0.6897 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003021/0.2013, allocations: 168.2 kB / 0.6898 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.2013, allocations: 3.938 kB / 0.6898 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004508/0.2018, allocations: 253.1 kB / 0.6901 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.2018, allocations: 4.188 kB / 0.6901 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.2018, allocations: 4.062 kB / 0.6901 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/0.2018, allocations: 7.938 kB / 0.6901 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.202, allocations: 47.91 kB / 0.6901 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.202, allocations: 0 / 0.6901 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2023, allocations: 39.81 kB / 0.6902 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.2024, allocations: 15.94 kB / 0.6902 GB, free: 13.74 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.000117/0.2025, allocations: 188.2 kB / 0.6904 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.2025, allocations: 47.44 kB / 0.6904 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.2031, allocations: 251.2 kB / 0.6906 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2031, allocations: 0 / 0.6906 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2031, allocations: 0 / 0.6906 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.2031, allocations: 3.938 kB / 0.6906 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008838/0.204, allocations: 0.7005 MB / 0.6913 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.204, allocations: 4 kB / 0.6913 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2041, allocations: 31.86 kB / 0.6914 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2041, allocations: 4 kB / 0.6914 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2042, allocations: 8 kB / 0.6914 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2042, allocations: 0 / 0.6914 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2042, allocations: 4.125 kB / 0.6914 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.2046, allocations: 349.3 kB / 0.6917 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.2047, allocations: 140.5 kB / 0.6918 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.2048, allocations: 7.984 kB / 0.6919 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.205, allocations: 15.98 kB / 0.6919 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.205, allocations: 15.97 kB / 0.6919 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2051, allocations: 8 kB / 0.6919 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003178/0.2054, allocations: 334.8 kB / 0.6922 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.754e-06/0.2054, allocations: 0 / 0.6922 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000592/0.206, allocations: 207.5 kB / 0.6924 GB, free: 11.33 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 (16): * Single equations (assignments): 14 * 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.001599/0.2076, allocations: 1.241 MB / 0.6936 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.2082, allocations: 275.6 kB / 0.6939 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2082, allocations: 0 / 0.6939 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.2084, allocations: 87.81 kB / 0.694 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.2093, allocations: 200.7 kB / 0.6942 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.2133, allocations: 3.341 MB / 0.6974 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.2137, allocations: 0.823 MB / 0.6982 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.214, allocations: 91.58 kB / 0.6983 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.2142, allocations: 143.4 kB / 0.6984 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2142, allocations: 3.938 kB / 0.6985 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.2463, allocations: 12.99 MB / 0.7111 GB, free: 8.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.125, allocations: 0 / 0.7111 GB, free: 8.41 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)