Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_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.007179/0.007179, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.001416/0.001417, allocations: 186.2 kB / 16.67 MB, free: 5.523 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.866/0.866, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.72 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 80.91 MB / 0.6642 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01927/0.1697, allocations: 17.47 MB / 0.6812 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007531/0.1773, allocations: 4.919 MB / 0.686 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.1779, allocations: 15.88 kB / 0.686 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.1788, allocations: 254.4 kB / 0.6863 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.1804, allocations: 0.6375 MB / 0.6869 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.1823, allocations: 0.7255 MB / 0.6876 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.1836, allocations: 0.978 MB / 0.6886 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.1841, allocations: 327.9 kB / 0.6889 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007954/0.1849, allocations: 426.2 kB / 0.6893 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.1855, allocations: 314.6 kB / 0.6896 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.121e-05/0.1856, allocations: 32 kB / 0.6896 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1869, allocations: 0.7253 MB / 0.6903 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1871, allocations: 131.6 kB / 0.6904 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.1874, allocations: 250.6 kB / 0.6907 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1888, allocations: 0.881 MB / 0.6915 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1888, allocations: 3.938 kB / 0.6915 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1888, allocations: 0 / 0.6915 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.1889, allocations: 0 / 0.6915 GB, free: 10.29 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.001427/0.1903, allocations: 0.8835 MB / 0.6924 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1904, allocations: 9.109 kB / 0.6924 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.1904, allocations: 62.72 kB / 0.6925 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1906, allocations: 60.28 kB / 0.6925 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.1915, allocations: 468.6 kB / 0.693 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1915, allocations: 24.56 kB / 0.693 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.1916, allocations: 28 kB / 0.693 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.1921, allocations: 290.2 kB / 0.6933 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1921, allocations: 0 / 0.6933 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1922, allocations: 4 kB / 0.6933 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1922, allocations: 11.94 kB / 0.6933 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1926, allocations: 190 kB / 0.6935 GB, free: 8.168 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.002064/0.1947, allocations: 1.476 MB / 0.6949 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.1951, allocations: 162.8 kB / 0.6951 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1952, allocations: 84.81 kB / 0.6952 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.1968, allocations: 1.276 MB / 0.6964 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1968, allocations: 34.56 kB / 0.6965 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.1969, allocations: 0 / 0.6965 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006792/0.1975, allocations: 260 kB / 0.6967 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1976, allocations: 51.41 kB / 0.6968 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.1983, allocations: 0.5886 MB / 0.6973 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1984, allocations: 29.7 kB / 0.6974 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1986, allocations: 268.1 kB / 0.6976 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.1986, allocations: 55.19 kB / 0.6977 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1987, allocations: 65.98 kB / 0.6977 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1989, allocations: 362.8 kB / 0.6981 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1991, allocations: 77.94 kB / 0.6981 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.1994, allocations: 214.8 kB / 0.6984 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.1998, allocations: 239.5 kB / 0.6986 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1998, allocations: 3.938 kB / 0.6986 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006041/0.2004, allocations: 312.7 kB / 0.6989 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2004, allocations: 9.875 kB / 0.6989 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2004, allocations: 4 kB / 0.6989 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2005, allocations: 4 kB / 0.6989 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.2007, allocations: 59.91 kB / 0.699 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2007, allocations: 4 kB / 0.699 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.2011, allocations: 47.91 kB / 0.699 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.2011, allocations: 16 kB / 0.699 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003304/0.2015, allocations: 224.6 kB / 0.6992 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002711/0.2017, allocations: 217.5 kB / 0.6994 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003673/0.2021, allocations: 223.5 kB / 0.6997 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-06/0.2021, allocations: 0 / 0.6997 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006226/0.2028, allocations: 312.7 kB / 0.7 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.2028, allocations: 4 kB / 0.7 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2028, allocations: 4 kB / 0.7 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.2028, allocations: 4 kB / 0.7 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.203, allocations: 63.91 kB / 0.7 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.203, allocations: 7.984 kB / 0.7 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.2034, allocations: 36.08 kB / 0.7001 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.2034, allocations: 15.98 kB / 0.7001 GB, free: 0.8633 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.0001207/0.2035, allocations: 200.1 kB / 0.7003 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.2036, allocations: 51.34 kB / 0.7003 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.2042, allocations: 267.8 kB / 0.7006 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2042, allocations: 7.984 kB / 0.7006 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2042, allocations: 0 / 0.7006 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2042, allocations: 0 / 0.7006 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2053, allocations: 0.7317 MB / 0.7013 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2053, allocations: 4.125 kB / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.2055, allocations: 35.92 kB / 0.7013 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2055, allocations: 3.984 kB / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2055, allocations: 4 kB / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2055, allocations: 0 / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2055, allocations: 8.031 kB / 0.7014 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.206, allocations: 350.2 kB / 0.7017 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.2062, allocations: 152.3 kB / 0.7018 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.2062, allocations: 8 kB / 0.7018 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2064, allocations: 7.984 kB / 0.7019 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.2065, allocations: 23.92 kB / 0.7019 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2065, allocations: 4 kB / 0.7019 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000475/0.207, allocations: 418.8 kB / 0.7023 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.207, allocations: 0 / 0.7023 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007771/0.2078, allocations: 227.7 kB / 0.7025 GB, free: 14.26 MB / 0.545 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.001872/0.2097, allocations: 1.273 MB / 0.7037 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007371/0.2104, allocations: 330.6 kB / 0.7041 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2104, allocations: 0 / 0.7041 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.2107, allocations: 83.89 kB / 0.7041 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.2118, allocations: 256.4 kB / 0.7044 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.2175, allocations: 3.932 MB / 0.7082 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.2179, allocations: 0.8467 MB / 0.709 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003548/0.2183, allocations: 100.2 kB / 0.7091 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.2185, allocations: 163.4 kB / 0.7093 GB, free: 7.211 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.2185, allocations: 4 kB / 0.7093 GB, free: 7.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.2566, allocations: 15.05 MB / 0.724 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/8.797, allocations: 16.52 kB / 0.724 GB, free: 8.34 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)