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.008313/0.008313, allocations: 100.3 kB / 15.73 MB, free: 6 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.001873/0.001873, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 74.33 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01582/0.154, allocations: 17.45 MB / 0.6762 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006284/0.1603, allocations: 4.925 MB / 0.681 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/0.1608, allocations: 15.88 kB / 0.6811 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007847/0.1616, allocations: 242.4 kB / 0.6813 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.163, allocations: 0.6102 MB / 0.6819 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1647, allocations: 0.7448 MB / 0.6826 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1657, allocations: 0.9625 MB / 0.6836 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.1661, allocations: 331.8 kB / 0.6839 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.1668, allocations: 430.2 kB / 0.6843 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.1671, allocations: 310.6 kB / 0.6846 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.1672, allocations: 31.94 kB / 0.6846 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1683, allocations: 0.7292 MB / 0.6853 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1684, allocations: 127.6 kB / 0.6854 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1686, allocations: 250.6 kB / 0.6857 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009821/0.1696, allocations: 0.881 MB / 0.6865 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1696, allocations: 0 / 0.6865 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1696, allocations: 4 kB / 0.6865 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.1696, allocations: 4 kB / 0.6865 GB, free: 14.62 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.001116/0.1708, allocations: 0.8796 MB / 0.6874 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1708, allocations: 8.031 kB / 0.6874 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.1709, allocations: 66.7 kB / 0.6875 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.171, allocations: 64.19 kB / 0.6875 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.1717, allocations: 460.8 kB / 0.688 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1717, allocations: 20.56 kB / 0.688 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.1718, allocations: 28 kB / 0.688 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.1722, allocations: 286.2 kB / 0.6883 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1723, allocations: 4 kB / 0.6883 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.1723, allocations: 11.94 kB / 0.6883 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1723, allocations: 8 kB / 0.6883 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.1727, allocations: 190.1 kB / 0.6885 GB, free: 12.5 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.001636/0.1743, allocations: 1.476 MB / 0.6899 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1747, allocations: 162.7 kB / 0.6901 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1748, allocations: 88.81 kB / 0.6902 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.1762, allocations: 1.268 MB / 0.6914 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1763, allocations: 38.55 kB / 0.6915 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.1763, allocations: 0 / 0.6915 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005916/0.1769, allocations: 247.9 kB / 0.6917 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1769, allocations: 55.34 kB / 0.6917 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.1775, allocations: 0.5886 MB / 0.6923 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1775, allocations: 29.7 kB / 0.6924 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1777, allocations: 276.1 kB / 0.6926 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1777, allocations: 55.2 kB / 0.6927 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.1778, allocations: 69.88 kB / 0.6927 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1779, allocations: 354.8 kB / 0.6931 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1781, allocations: 81.92 kB / 0.6931 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1784, allocations: 210.8 kB / 0.6934 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1788, allocations: 243 kB / 0.6936 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1788, allocations: 3.938 kB / 0.6936 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005379/0.1793, allocations: 311.2 kB / 0.6939 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1794, allocations: 9.875 kB / 0.6939 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1794, allocations: 256 / 0.6939 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.1794, allocations: 8.094 kB / 0.6939 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.1796, allocations: 63.84 kB / 0.694 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1797, allocations: 7.984 kB / 0.694 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.18, allocations: 39.67 kB / 0.694 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.18, allocations: 16 kB / 0.694 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002739/0.1803, allocations: 212.6 kB / 0.6942 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000256/0.1805, allocations: 218 kB / 0.6944 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003484/0.1809, allocations: 233.2 kB / 0.6947 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.1809, allocations: 4 kB / 0.6947 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005134/0.1814, allocations: 302.6 kB / 0.6949 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.1814, allocations: 8 kB / 0.695 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1815, allocations: 8.234 kB / 0.695 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.1815, allocations: 8 kB / 0.695 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1817, allocations: 59.91 kB / 0.695 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1817, allocations: 4 kB / 0.695 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.182, allocations: 35.81 kB / 0.6951 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.182, allocations: 16 kB / 0.6951 GB, free: 5.207 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 9.67e-05/0.1821, allocations: 200.1 kB / 0.6953 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.1822, allocations: 47.34 kB / 0.6953 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.1827, allocations: 257.7 kB / 0.6956 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1827, allocations: 4 kB / 0.6956 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1827, allocations: 4 kB / 0.6956 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1828, allocations: 0 / 0.6956 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009326/0.1837, allocations: 0.7355 MB / 0.6963 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.1837, allocations: 4.094 kB / 0.6963 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1838, allocations: 39.84 kB / 0.6963 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1838, allocations: 192 / 0.6963 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1839, allocations: 4 kB / 0.6963 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1839, allocations: 0 / 0.6963 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1839, allocations: 7.938 kB / 0.6963 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.1843, allocations: 363.8 kB / 0.6967 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1845, allocations: 140.5 kB / 0.6968 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.1845, allocations: 8 kB / 0.6968 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.1847, allocations: 11.98 kB / 0.6968 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1848, allocations: 15.92 kB / 0.6969 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1848, allocations: 11.98 kB / 0.6969 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003924/0.1852, allocations: 418.8 kB / 0.6973 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1852, allocations: 0 / 0.6973 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006543/0.1858, allocations: 227.7 kB / 0.6975 GB, free: 2.617 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.001606/0.1875, allocations: 1.263 MB / 0.6987 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.1881, allocations: 330.2 kB / 0.699 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1881, allocations: 4 kB / 0.699 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1883, allocations: 85.14 kB / 0.6991 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.1894, allocations: 258.5 kB / 0.6994 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.194, allocations: 3.95 MB / 0.7032 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1944, allocations: 0.8428 MB / 0.704 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.1947, allocations: 103.9 kB / 0.7041 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.1949, allocations: 163.4 kB / 0.7043 GB, free: 11.59 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.1949, allocations: 0 / 0.7043 GB, free: 11.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.2305, allocations: 15.23 MB / 0.7192 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.495, allocations: 2.5 kB / 0.7192 GB, free: 12.56 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)