Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00546/0.00546, allocations: 97.62 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.001231/0.001231, allocations: 202.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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.069/1.069, allocations: 135.6 MB / 426.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 0.5862 GB, free: 2.738 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.543, allocations: 81.03 MB / 0.6654 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0187/0.5617, allocations: 15.54 MB / 0.6805 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00881/0.5706, allocations: 4.336 MB / 0.6848 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.5718, allocations: 12 kB / 0.6848 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.5731, allocations: 261.1 kB / 0.685 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.5756, allocations: 0.6056 MB / 0.6856 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.5781, allocations: 0.7136 MB / 0.6863 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.5801, allocations: 1.029 MB / 0.6873 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008222/0.5809, allocations: 343.9 kB / 0.6877 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.5822, allocations: 420.2 kB / 0.6881 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.5828, allocations: 323.2 kB / 0.6884 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.5828, allocations: 27.5 kB / 0.6884 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.5846, allocations: 0.628 MB / 0.689 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.5848, allocations: 101.2 kB / 0.6891 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.5851, allocations: 222.8 kB / 0.6893 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.5867, allocations: 0.7728 MB / 0.6901 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5867, allocations: 1.094 kB / 0.6901 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5867, allocations: 0 / 0.6901 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.5868, allocations: 7.938 kB / 0.6901 GB, free: 3.859 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.001502/0.5883, allocations: 0.8542 MB / 0.6909 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5883, allocations: 9.688 kB / 0.6909 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.5885, allocations: 54.98 kB / 0.691 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.5893, allocations: 439.3 kB / 0.6914 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.5893, allocations: 24.84 kB / 0.6914 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.5894, allocations: 25.97 kB / 0.6914 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.5899, allocations: 217.1 kB / 0.6916 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5899, allocations: 0 / 0.6916 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.59, allocations: 10.94 kB / 0.6917 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.59, allocations: 4.281 kB / 0.6917 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.5904, allocations: 162.8 kB / 0.6918 GB, free: 2.48 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.002324/0.5927, allocations: 0.9366 MB / 0.6927 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.5932, allocations: 139.9 kB / 0.6929 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.5933, allocations: 73.02 kB / 0.6929 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.5937, allocations: 339.4 kB / 0.6933 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5938, allocations: 37.12 kB / 0.6933 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.5938, allocations: 0 / 0.6933 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006765/0.5945, allocations: 241.2 kB / 0.6935 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.5945, allocations: 57.22 kB / 0.6936 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.5953, allocations: 482.5 kB / 0.694 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.5953, allocations: 31.64 kB / 0.6941 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.5956, allocations: 226 kB / 0.6943 GB, free: 428 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.5957, allocations: 48.78 kB / 0.6943 GB, free: 384 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5958, allocations: 58.88 kB / 0.6944 GB, free: 344 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002767/0.5961, allocations: 357.1 kB / 0.6947 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5963, allocations: 72.84 kB / 0.6948 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.5967, allocations: 149.1 kB / 0.6949 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.5971, allocations: 165.1 kB / 0.6951 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5971, allocations: 0 / 0.6951 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006163/0.5977, allocations: 259.1 kB / 0.6953 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.5978, allocations: 5.5 kB / 0.6953 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5978, allocations: 0 / 0.6953 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5978, allocations: 2.75 kB / 0.6953 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.5981, allocations: 54.28 kB / 0.6954 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5981, allocations: 1.375 kB / 0.6954 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.5985, allocations: 45.44 kB / 0.6954 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.5986, allocations: 12.23 kB / 0.6955 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003794/0.599, allocations: 191.1 kB / 0.6956 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003348/0.5993, allocations: 153.9 kB / 0.6958 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003918/0.5997, allocations: 171.4 kB / 0.6959 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.093e-06/0.5997, allocations: 3.938 kB / 0.696 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005793/0.6003, allocations: 258.2 kB / 0.6962 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.6003, allocations: 6.281 kB / 0.6962 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6003, allocations: 1.469 kB / 0.6962 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/0.6003, allocations: 1.688 kB / 0.6962 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.6006, allocations: 47.84 kB / 0.6963 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6006, allocations: 5.406 kB / 0.6963 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.6009, allocations: 39.44 kB / 0.6963 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.601, allocations: 12.47 kB / 0.6963 GB, free: 14.99 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.0001765/0.6012, allocations: 192.1 kB / 0.6965 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.6013, allocations: 44.16 kB / 0.6965 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/0.6019, allocations: 253.9 kB / 0.6968 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.602, allocations: 2.312 kB / 0.6968 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.602, allocations: 0 / 0.6968 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.602, allocations: 9.016 kB / 0.6968 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.6032, allocations: 0.7079 MB / 0.6975 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6033, allocations: 1.281 kB / 0.6975 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.6034, allocations: 26.73 kB / 0.6975 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.6035, allocations: 6.688 kB / 0.6975 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.6035, allocations: 10.56 kB / 0.6975 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6035, allocations: 1.375 kB / 0.6975 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6035, allocations: 2.531 kB / 0.6975 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.6041, allocations: 345.1 kB / 0.6979 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.6043, allocations: 141.9 kB / 0.698 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.6043, allocations: 10.41 kB / 0.698 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.6045, allocations: 18.44 kB / 0.698 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.6046, allocations: 14.61 kB / 0.698 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.6047, allocations: 5.281 kB / 0.698 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004757/0.6051, allocations: 333.1 kB / 0.6984 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6051, allocations: 0 / 0.6984 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008111/0.606, allocations: 207.2 kB / 0.6986 GB, free: 13.32 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.001768/0.6077, allocations: 477.6 kB / 0.699 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008131/0.6086, allocations: 281.1 kB / 0.6993 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6086, allocations: 1.125 kB / 0.6993 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.6088, allocations: 84.64 kB / 0.6994 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6099, allocations: 205.8 kB / 0.6996 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.6114, allocations: 0.7156 MB / 0.7003 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.6119, allocations: 0.8228 MB / 0.7011 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.6122, allocations: 84.92 kB / 0.7011 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.6124, allocations: 44.64 kB / 0.7012 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.6124, allocations: 0 / 0.7012 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.01849/0.6309, allocations: 8.524 MB / 0.7095 GB, free: 3.418 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)