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.004764/0.004764, allocations: 96.7 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.001157/0.001157, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7614/0.7614, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 68.33 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1664, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01746/0.1839, allocations: 15.55 MB / 0.6744 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006421/0.1904, allocations: 4.333 MB / 0.6786 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.1908, allocations: 15.88 kB / 0.6786 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.1916, allocations: 258.3 kB / 0.6789 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.193, allocations: 0.6041 MB / 0.6795 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.1947, allocations: 0.7159 MB / 0.6802 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.1959, allocations: 1.025 MB / 0.6812 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.1964, allocations: 339.7 kB / 0.6815 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.1971, allocations: 422.4 kB / 0.6819 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.1975, allocations: 330.5 kB / 0.6822 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.1976, allocations: 28 kB / 0.6822 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1987, allocations: 0.62 MB / 0.6828 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1988, allocations: 107.5 kB / 0.6829 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.199, allocations: 222.8 kB / 0.6832 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.2001, allocations: 0.7783 MB / 0.6839 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2001, allocations: 4 kB / 0.6839 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2001, allocations: 0 / 0.6839 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.2001, allocations: 0 / 0.6839 GB, free: 4.621 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.001234/0.2013, allocations: 0.8438 MB / 0.6847 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2014, allocations: 8.031 kB / 0.6848 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.811e-05/0.2015, allocations: 58.67 kB / 0.6848 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.2016, allocations: 56.61 kB / 0.6849 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.2022, allocations: 440.8 kB / 0.6853 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2023, allocations: 20.44 kB / 0.6853 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.2023, allocations: 28 kB / 0.6853 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.2028, allocations: 211.2 kB / 0.6855 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2028, allocations: 0 / 0.6855 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2028, allocations: 12 kB / 0.6855 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2028, allocations: 4 kB / 0.6855 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.2032, allocations: 165.6 kB / 0.6857 GB, free: 2.691 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.001598/0.2048, allocations: 0.9616 MB / 0.6866 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2051, allocations: 126.6 kB / 0.6868 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2053, allocations: 64.83 kB / 0.6868 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.2056, allocations: 336.4 kB / 0.6871 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.2057, allocations: 34.56 kB / 0.6872 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.2057, allocations: 4 kB / 0.6872 GB, free: 1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006276/0.2063, allocations: 245.2 kB / 0.6874 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2064, allocations: 51.41 kB / 0.6875 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.2069, allocations: 481.9 kB / 0.6879 GB, free: 216 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.2069, allocations: 33.7 kB / 0.688 GB, free: 176 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.2071, allocations: 228.8 kB / 0.6882 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.2072, allocations: 55.53 kB / 0.6882 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2073, allocations: 57.69 kB / 0.6883 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2075, allocations: 350.8 kB / 0.6886 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2077, allocations: 72.81 kB / 0.6887 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.208, allocations: 155.6 kB / 0.6888 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.2083, allocations: 162.4 kB / 0.689 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2083, allocations: 0 / 0.689 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005084/0.2088, allocations: 247.3 kB / 0.6892 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2089, allocations: 12 kB / 0.6892 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2089, allocations: 3.984 kB / 0.6892 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2089, allocations: 3.938 kB / 0.6892 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2091, allocations: 47.97 kB / 0.6893 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2091, allocations: 0 / 0.6893 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.2095, allocations: 43.7 kB / 0.6893 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.2095, allocations: 11.98 kB / 0.6893 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002798/0.2098, allocations: 188.1 kB / 0.6895 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002718/0.2101, allocations: 173.2 kB / 0.6897 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003508/0.2104, allocations: 170.8 kB / 0.6899 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.2104, allocations: 7.984 kB / 0.6899 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005018/0.2109, allocations: 253.2 kB / 0.6901 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.211, allocations: 4 kB / 0.6901 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.211, allocations: 4 kB / 0.6901 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.211, allocations: 8.062 kB / 0.6901 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.2112, allocations: 43.97 kB / 0.6902 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2112, allocations: 4 kB / 0.6902 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.2115, allocations: 35.8 kB / 0.6902 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.2115, 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.0001343/0.2117, allocations: 184.3 kB / 0.6904 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.2118, allocations: 47.7 kB / 0.6904 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.2123, allocations: 264.2 kB / 0.6907 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2124, allocations: 0 / 0.6907 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2124, allocations: 0 / 0.6907 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2124, allocations: 7.922 kB / 0.6907 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2134, allocations: 0.7007 MB / 0.6914 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2134, allocations: 0 / 0.6914 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.2136, allocations: 31.92 kB / 0.6914 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2136, allocations: 0 / 0.6914 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2136, allocations: 15.88 kB / 0.6914 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2136, allocations: 0 / 0.6914 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.2136, allocations: 7.984 kB / 0.6914 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.2141, allocations: 336.7 kB / 0.6918 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.2143, allocations: 140.7 kB / 0.6919 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.2143, allocations: 7.984 kB / 0.6919 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2145, allocations: 15.98 kB / 0.6919 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2146, allocations: 15.92 kB / 0.6919 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2146, allocations: 8 kB / 0.6919 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00038/0.215, allocations: 330.9 kB / 0.6922 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.215, allocations: 0 / 0.6922 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006074/0.2156, 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.002268/0.2179, allocations: 1.256 MB / 0.6937 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006396/0.2186, allocations: 279.6 kB / 0.6939 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2186, allocations: 0 / 0.6939 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.2188, allocations: 79.89 kB / 0.694 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.2198, allocations: 205.1 kB / 0.6942 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.2242, allocations: 3.349 MB / 0.6975 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.2247, allocations: 0.823 MB / 0.6983 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.225, allocations: 90.59 kB / 0.6984 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.2252, allocations: 151.3 kB / 0.6985 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.2252, allocations: 0 / 0.6985 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.2768, allocations: 12.81 MB / 0.711 GB, free: 8.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.626, allocations: 8.047 kB / 0.711 GB, free: 8.547 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)