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.007867/0.007867, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001839/0.001839, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8385/0.8385, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.61 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1502, allocations: 80.91 MB / 0.6642 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01993/0.1701, allocations: 17.46 MB / 0.6812 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.1768, allocations: 4.919 MB / 0.686 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.1772, allocations: 15.88 kB / 0.686 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.1781, allocations: 262.3 kB / 0.6863 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1795, allocations: 0.6336 MB / 0.6869 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1815, allocations: 0.7333 MB / 0.6876 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1827, allocations: 0.9663 MB / 0.6886 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.1833, allocations: 336.9 kB / 0.6889 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008382/0.1842, allocations: 426.3 kB / 0.6893 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.1847, allocations: 318.6 kB / 0.6896 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.1848, allocations: 28 kB / 0.6896 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1862, allocations: 0.7214 MB / 0.6903 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1864, allocations: 135.6 kB / 0.6904 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.1867, allocations: 246.5 kB / 0.6907 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1882, allocations: 0.8873 MB / 0.6916 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1882, allocations: 4 kB / 0.6916 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1882, allocations: 7.875 kB / 0.6916 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.1882, allocations: 0 / 0.6916 GB, free: 10.11 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.001282/0.1895, allocations: 0.9021 MB / 0.6924 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1896, allocations: 9.109 kB / 0.6925 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.1896, allocations: 58.73 kB / 0.6925 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1898, allocations: 64.56 kB / 0.6926 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.1905, allocations: 469.2 kB / 0.693 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1906, allocations: 20.56 kB / 0.693 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.1906, allocations: 28 kB / 0.6931 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.1911, allocations: 290.2 kB / 0.6933 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1911, allocations: 0 / 0.6933 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.1912, allocations: 8 kB / 0.6933 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1912, allocations: 11.94 kB / 0.6934 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.1916, allocations: 186.1 kB / 0.6935 GB, free: 7.973 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.001903/0.1935, allocations: 1.492 MB / 0.695 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.1939, allocations: 158.8 kB / 0.6951 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1941, allocations: 80.81 kB / 0.6952 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.1956, allocations: 1.288 MB / 0.6965 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1957, allocations: 30.56 kB / 0.6965 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1957, allocations: 4 kB / 0.6965 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006473/0.1963, allocations: 256.2 kB / 0.6968 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1964, allocations: 51.41 kB / 0.6968 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.197, allocations: 0.5887 MB / 0.6974 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1971, allocations: 29.7 kB / 0.6974 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1973, allocations: 272.5 kB / 0.6977 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1973, allocations: 55.59 kB / 0.6977 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1974, allocations: 69.92 kB / 0.6978 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1976, allocations: 358.8 kB / 0.6981 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1978, allocations: 77.94 kB / 0.6982 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1981, allocations: 218.7 kB / 0.6984 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.1986, allocations: 231.6 kB / 0.6986 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1986, allocations: 7.938 kB / 0.6986 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006228/0.1992, allocations: 313 kB / 0.6989 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1992, allocations: 8 kB / 0.6989 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1993, allocations: 0 / 0.6989 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1993, allocations: 4 kB / 0.699 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1995, allocations: 68.14 kB / 0.699 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1996, allocations: 4 kB / 0.699 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.1999, allocations: 43.72 kB / 0.6991 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.1999, allocations: 16 kB / 0.6991 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003154/0.2003, allocations: 220.5 kB / 0.6993 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002902/0.2006, allocations: 221.5 kB / 0.6995 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000392/0.201, allocations: 227.7 kB / 0.6997 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.201, allocations: 8 kB / 0.6997 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005899/0.2016, allocations: 304.9 kB / 0.7 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2016, allocations: 8 kB / 0.7 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2016, allocations: 4 kB / 0.7 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.2016, allocations: 4 kB / 0.7 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2019, allocations: 64.16 kB / 0.7001 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.2019, allocations: 7.938 kB / 0.7001 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.2022, allocations: 39.81 kB / 0.7001 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2023, allocations: 16 kB / 0.7002 GB, free: 0.6367 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.0001224/0.2024, allocations: 200.1 kB / 0.7003 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.2025, allocations: 47.67 kB / 0.7004 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.2031, allocations: 255.2 kB / 0.7006 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.2031, allocations: 4 kB / 0.7006 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2031, allocations: 0 / 0.7006 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2031, allocations: 3.984 kB / 0.7006 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2042, allocations: 0.7395 MB / 0.7014 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.2042, allocations: 4 kB / 0.7014 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2044, allocations: 31.98 kB / 0.7014 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2044, allocations: 0 / 0.7014 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2044, allocations: 4 kB / 0.7014 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2044, allocations: 0 / 0.7014 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2044, allocations: 7.938 kB / 0.7014 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.2049, allocations: 360.9 kB / 0.7018 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.2051, allocations: 144.7 kB / 0.7019 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.2052, allocations: 7.984 kB / 0.7019 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2054, allocations: 12 kB / 0.7019 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.2054, allocations: 23.91 kB / 0.7019 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2055, allocations: 4 kB / 0.7019 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000484/0.206, allocations: 418.8 kB / 0.7023 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.206, allocations: 0 / 0.7023 GB, free: 14.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007899/0.2068, allocations: 235.5 kB / 0.7026 GB, free: 14.04 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.001805/0.2086, allocations: 1.272 MB / 0.7038 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.2093, allocations: 329.6 kB / 0.7041 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2094, allocations: 0 / 0.7041 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2096, allocations: 85.02 kB / 0.7042 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.2109, allocations: 263.1 kB / 0.7044 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.2161, allocations: 3.954 MB / 0.7083 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.2165, allocations: 0.8428 MB / 0.7091 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.2169, allocations: 108.2 kB / 0.7092 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.2171, allocations: 163.4 kB / 0.7094 GB, free: 6.953 MB / 0.545 GB Notification: Performance of SimCode: time 6.02e-07/0.2171, allocations: 0 / 0.7094 GB, free: 6.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.2542, allocations: 15.05 MB / 0.7241 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/8.824, allocations: 6.312 kB / 0.7241 GB, free: 8.094 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)