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.006462/0.006461, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001233/0.001233, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9895/0.9895, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 67.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4574, allocations: 80.9 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01536/0.4728, allocations: 15.55 MB / 0.6798 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007225/0.4801, allocations: 4.337 MB / 0.6841 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.4808, allocations: 16.75 kB / 0.6841 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009948/0.4818, allocations: 266.1 kB / 0.6843 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.4835, allocations: 0.625 MB / 0.6849 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.4855, allocations: 0.7148 MB / 0.6856 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.4868, allocations: 1.032 MB / 0.6866 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004849/0.4873, allocations: 348.3 kB / 0.687 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.4881, allocations: 421.2 kB / 0.6874 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.4885, allocations: 323.1 kB / 0.6877 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.4885, allocations: 26.94 kB / 0.6877 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.4897, allocations: 0.632 MB / 0.6883 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.4898, allocations: 101.4 kB / 0.6884 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.4901, allocations: 227 kB / 0.6886 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4911, allocations: 0.7702 MB / 0.6894 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4911, allocations: 0 / 0.6894 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4911, allocations: 0 / 0.6894 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4912, allocations: 1.375 kB / 0.6894 GB, free: 4.113 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.001258/0.4924, allocations: 0.8373 MB / 0.6902 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4925, allocations: 8.344 kB / 0.6902 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.4926, allocations: 55.5 kB / 0.6903 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.4933, allocations: 434.2 kB / 0.6907 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.4933, allocations: 20.66 kB / 0.6907 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.4934, allocations: 26.56 kB / 0.6907 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.4939, allocations: 214.1 kB / 0.6909 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4939, allocations: 0 / 0.6909 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.4939, allocations: 6.281 kB / 0.6909 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.4939, allocations: 8.875 kB / 0.6909 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.4943, allocations: 161.6 kB / 0.6911 GB, free: 2.762 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.001561/0.4959, allocations: 0.9529 MB / 0.692 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.4962, allocations: 134 kB / 0.6922 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4964, allocations: 77.72 kB / 0.6922 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.4966, allocations: 339.3 kB / 0.6926 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4967, allocations: 31.66 kB / 0.6926 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.4967, allocations: 1.156 kB / 0.6926 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006082/0.4973, allocations: 236.9 kB / 0.6928 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.4973, allocations: 57.53 kB / 0.6929 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.4978, allocations: 479.1 kB / 0.6933 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4979, allocations: 30.89 kB / 0.6934 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.498, allocations: 229 kB / 0.6936 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.4981, allocations: 45.8 kB / 0.6936 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.4982, allocations: 55.02 kB / 0.6937 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4983, allocations: 359.8 kB / 0.694 GB, free: 276 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.4985, allocations: 77.19 kB / 0.6941 GB, free: 232 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.4988, allocations: 155.4 kB / 0.6942 GB, free: 108 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.4991, allocations: 170.1 kB / 0.6944 GB, free: 8 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4991, allocations: 0 / 0.6944 GB, free: 8 kB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005118/0.4996, allocations: 255.4 kB / 0.6946 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4997, allocations: 4.125 kB / 0.6946 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4997, allocations: 1.406 kB / 0.6946 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4997, allocations: 1.688 kB / 0.6947 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.4999, allocations: 47.44 kB / 0.6947 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4999, allocations: 3.625 kB / 0.6947 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.5003, allocations: 44.88 kB / 0.6947 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5003, allocations: 11.09 kB / 0.6948 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002628/0.5006, allocations: 187 kB / 0.6949 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002381/0.5008, allocations: 165.5 kB / 0.6951 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003295/0.5011, allocations: 175.9 kB / 0.6953 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.5012, allocations: 0 / 0.6953 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005051/0.5017, allocations: 249.5 kB / 0.6955 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5017, allocations: 5.562 kB / 0.6955 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5017, allocations: 9.141 kB / 0.6955 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.5017, allocations: 2.406 kB / 0.6955 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.5019, allocations: 42.95 kB / 0.6956 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5019, allocations: 6.266 kB / 0.6956 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.5022, allocations: 34.41 kB / 0.6956 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.5023, allocations: 7.219 kB / 0.6956 GB, free: 15.27 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.0001382/0.5024, allocations: 202.1 kB / 0.6958 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.5025, allocations: 38.22 kB / 0.6958 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.503, allocations: 250.3 kB / 0.6961 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.5031, allocations: 5.375 kB / 0.6961 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5031, allocations: 1.375 kB / 0.6961 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5031, allocations: 3.938 kB / 0.6961 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.5041, allocations: 0.7046 MB / 0.6968 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5041, allocations: 1.5 kB / 0.6968 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.5042, allocations: 43.34 kB / 0.6968 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.5042, allocations: 5.312 kB / 0.6968 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5043, allocations: 2.75 kB / 0.6968 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5043, allocations: 6.688 kB / 0.6968 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5043, allocations: 1.375 kB / 0.6968 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.5047, allocations: 337.5 kB / 0.6971 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.5049, allocations: 145.4 kB / 0.6973 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.505, allocations: 6.156 kB / 0.6973 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5052, allocations: 10.02 kB / 0.6973 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.5052, allocations: 22.52 kB / 0.6973 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5052, allocations: 9.672 kB / 0.6973 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003652/0.5056, allocations: 336.6 kB / 0.6976 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5056, allocations: 0 / 0.6976 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000681/0.5063, allocations: 191.1 kB / 0.6978 GB, free: 13.62 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.001076/0.5074, allocations: 478.4 kB / 0.6983 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006417/0.508, allocations: 267.5 kB / 0.6985 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5081, allocations: 4.125 kB / 0.6985 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.5083, allocations: 83.64 kB / 0.6986 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5093, allocations: 213.7 kB / 0.6988 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.5105, allocations: 0.7063 MB / 0.6995 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.5109, allocations: 0.8346 MB / 0.7003 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.5111, allocations: 81.55 kB / 0.7004 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.5112, allocations: 36.89 kB / 0.7004 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.5113, allocations: 0 / 0.7004 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.01515/0.5264, allocations: 8.508 MB / 0.7088 GB, free: 4.078 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)